[MacRuby-devel] [MacRuby] #448: macirb fails to start on 32-bit arch (undefined method `bind' for IRB::SLex:Class)
MacRuby
ruby-noreply at macosforge.org
Tue Nov 24 15:40:57 PST 2009
#448: macirb fails to start on 32-bit arch (undefined method `bind' for
IRB::SLex:Class)
-----------------------------------+----------------------------------------
Reporter: logan@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
-----------------------------------+----------------------------------------
Comment(by conradwt@…):
The rules for using extend and include are as follows:
{{{
# (1) include can be used in the context of a class or module
# include in the context of a module:
module A
end
module B
include A
end
# include in the context of a class:
module C
end
class D
include C
end
# (2) extend can be used in the context of a class or object
# extend in the context of a class:
module E
end
class F
extend E
end
# extend in the context of an object:
module G
end
class H
end
object = H.new
object.extend( G )
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/448#comment:4>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list