Skip to content

shurizzle/ruby-let

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RUBY-LET

lisp like let

Kernel.let(1, 2) {|one, two|
  puts one
  p two
} #=> 2

1.let {|one| p 1 } #=> 1

[1, 2, 3].let! {|one, two, three|
  puts one, two, three
  one + two + three
} #=> 6

Releases

No releases published

Packages

No packages published

Languages