Class: Symbol

Inherits:
Object show all
Defined in:
lib/must_be.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



6
7
8
# File 'lib/must_be.rb', line 6

def to_proc
  Proc.new {|*args| args.shift.__send__ self, *args}
end