69bf71f5e9
1 2 3 4 5
class Symbol #:nodoc: def to_proc Proc.new { |obj, *args| obj.send(self, *args) } end end