James Gray
9/19/2007 1:27:00 PM
On Sep 19, 2007, at 8:19 AM, SpringFlowers AutumnMoon wrote:
> so 1.class will give Fixnum...
>
> but when i define a method
>
> def foo
> puts "ha"
> end
>
> how can i invoke
>
> foo.class
>> def foo; end
=> nil
>> method(:foo).class
=> Method
Hope that helps.
James Edward Gray II