#715: public_method_defined? on a metaclass doesn't work -------------------------------------+-------------------------------------- Reporter: eloy.de.en...@… | Owner: eloy.de.en...@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: mocha -------------------------------------+-------------------------------------- {{{ % cat t.rb class X def self.metaclass class << self; self; end end
class << self def public_method; end end end p X.metaclass.public_method_defined?(:public_method) % ruby19 t.rb true % macruby t.rb false }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/715> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel