Hi --

On Wed, 12 Jul 2006, Yukihiro Matsumoto wrote:

> Hi,
>
> In message "Re: ruby.h missing rb_cMethod?"
>    on Wed, 12 Jul 2006 05:37:54 +0900, Christian Neukirchen <chneukirchen / gmail.com> writes:
>
> |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
>
> Hmm.  Does this behavior makes methods second-class?

1.5'th class, anyway :-)


David

-- 
http://www.rubypowerandlight.com => Ruby/Rails training & consultancy
http://www.manning.com/black     => RUBY FOR RAILS, the Ruby book for
                                                     Rails developers
http://dablog.rubypal.com        => D[avid ]A[. ]B[lack's][ Web]log
dblack / wobblini.net              => me