class Proc

Public Class Methods

identity() click to toggle source
# File lib/forwarder/helpers.rb, line 3
def identity
  new{ |x| x }
end
sum() click to toggle source
# File lib/forwarder/helpers.rb, line 6
def sum
  new{ |a,b| a+b }
end