Yukihiro Matsumoto <matz / ruby-lang.org> writes: > Hi, > > In message "Re: ruby.h missing rb_cMethod?" > on Tue, 11 Jul 2006 19:55:05 +0900, Jan Friedrich <spamgrav / web.de> writes: > > |> RUBY_EXTERN VALUE rb_cMethod; > |> > |> Is this by design? > > |Yes. Ruby has no first class methods therefore it doesn't exist a class > |Method. > > Pardon me? > > Ruby has first class methods, therefore it does have class Method. > It's just matter of implementation. I thought no one would require > access to the rb_cMethod. I will add it later. Ruby has first-class Method instances, but methods aren't first class, no? irb(main):003:0> method(:nil?).object_id => 1758564 irb(main):004:0> method(:nil?).object_id => 1746454 > matz. -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org