1 2 3 4 5 6 7 8 9
class Symbol def to_proc Proc.new do |obj, *args| obj.send(self, *args) end end end