#205: Incorrect list of instance methods ----------------------------------------+----------------------------------- Reporter: vincent.isamb...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major | Milestone: Component: MacRuby | Keywords: ----------------------------------------+----------------------------------- When a class includes a module, the methods of this module appears in the instance_methods(false) of this class AND in the instance_methods(false) of the module. It should only appear in the instance_methods(false) of the module.
{{{ module X def x end end class A include X end p A.instance_methods(false) p X.instance_methods(false) }}} displays: (I have no idea why :dup is there) {{{ [:x, :dup] [:x] }}} instead of: (Ruby 1.9) {{{ [] [:x] }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/205> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel