[MacRuby] #1238: Does not find any methods in Module#remove_method

MacRuby ruby-noreply at macosforge.org
Wed Apr 20 20:21:16 PDT 2011


#1238: Does not find any methods in Module#remove_method
------------------------------+---------------------------------------------
 Reporter:  kouji@…           |       Owner:  lsansonetti@…        
     Type:  defect            |      Status:  new                  
 Priority:  blocker           |   Milestone:  MacRuby 1.0          
Component:  MacRuby           |    Keywords:                       
------------------------------+---------------------------------------------
 reduction:
 {{{
 $ macruby -e 'Module.new { instance_methods.each { |selector|
 remove_method(selector) } }'
 -e:1:in `block': method `to_plist' not defined in #<Class:0x20004ad00>
 (NameError)
         from -e:1:in `block'
         from -e:1:in `<main>'

 $ ruby -e 'Module.new { instance_methods.each { |selector|
 remove_method(selector) } }'
 (not raise an exception)
 }}}

 This is use in
 Rails(actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:94).

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1238>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list