1 2 3 4 5 6 7
class Symbol def to_proc ->(obj,*args,**opts,&block) do obj.__send__(self, *args, **opts, &block) end end end