#448: macirb fails to start on 32-bit arch (undefined method `bind' for IRB::SLex:Class) -----------------------------------+---------------------------------------- Reporter: lo...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -----------------------------------+----------------------------------------
Comment(by conra...@…): 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/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel