class Fn::Fn

Public Class Methods

new(&body) click to toggle source
# File lib/fn.rb, line 52
def initialize(&body)
  @body = body
end

Public Instance Methods

call(*args, &blk) click to toggle source
# File lib/fn.rb, line 56
def call(*args, &blk)
  @body.call(*args, &blk)
end