Class Symbol
In: lib/sinatra/core_ext/symbol.rb
Parent: Object

Methods

to_proc  

Public Instance methods

[Source]

   # File lib/sinatra/core_ext/symbol.rb, line 2
2:   def to_proc 
3:     Proc.new { |*args| args.shift.__send__(self, *args) }
4:   end

[Validate]