Ruby - Blocks, Procs, and Lambdas
Given this code, how can you store multiple method objects from an object
obj for methods :foo and :bar and call them later?
class Example
def foo
"foo called"
end
def bar
"bar called"
end
end
obj = Example.new
