Class: Fiddle::Function

Inherits:
Object
  • Object
show all
Defined in:
lib/fisk/helpers.rb

Instance Method Summary collapse

Instance Method Details

#to_procObject



8
9
10
11
# File 'lib/fisk/helpers.rb', line 8

def to_proc
  this = self
  lambda { |*args| this.call(*args) }
end