Is it possible in Ruby to get a reference to methods of an object ( I would like to know if this can be done without procs/lambdas ) , for example , consider the following c
You can get a reference to the method by object.method(:method_name).
object.method(:method_name)
Eg: To get a reference to system method.
system
m = self.method(:system) m.call('ls')