[MacRuby-devel] macruby singleton_methods

anoiaque anoiaque at gmail.com
Wed May 11 04:24:37 PDT 2011


Hi,

Suppose:  class User; def self.all;end end


With Ruby 1.8, and 1.9.2 interpreters 

 User.singleton_methods #=> [:all]

With Macruby you get [].

Normal ? 
Is it an issue to add ?




Can we interpret 1.9.2 code with macruby and expect the same result ?



Thanks.





More information about the MacRuby-devel mailing list