Sha256: a1ec92fcc3aa67dfbae70f4b6ecf1a2b3450b24e69323c57e6880234e67c3b34

Contents?: true

Size: 148 Bytes

Versions: 2

Compression:

Stored size: 148 Bytes

Contents

add_me = lambda { |x,y| puts x + y }
func2 add_me
multiply_me = lambda { |x,y| puts x * y }
func2 multiply_me

def func2(func)
  func.call 2,3
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beta_tools-0.0.5 lib/it_tools/sample.rb
beta_tools-0.0.4 lib/it_tools/sample.rb