|
|
|
|
|
by vidarh
1953 days ago
|
|
The only way of obtaining a method in Ruby returns it as an object. Whether or not they "are" an object is thus entirely an implementation detail. I think part of the confuction here is that "ob.puts" for example, does not directly access a method. It denotes passing a message to "ob". That message may or may not be routed to a "puts" method. But at no point does Ruby allow you to get hold of any kind of reference to a method that is anything but an object. |
|