Sha256: 7343760312253b460c32fed9da1db9d2651ca3127c68a219078c8b51a56d7f92
Contents?: true
Size: 246 Bytes
Versions: 1
Compression:
Stored size: 246 Bytes
Contents
module LambdaDriver::Ap def ap(f = nil, &block) if f.nil? && (not block_given?) return lambda{|g=nil,&inner_block| self.ap(g, &inner_block) } end if block_given? yield self else f.call(self) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
lambda_driver-1.0.0 | lib/lambda_driver/ap.rb |