Skip to content

Instantly share code, notes, and snippets.

@voidlily voidlily/gist:2596267
Last active Oct 4, 2015

Embed
What would you like to do?
foo = lambda do |a|
b = a + 5
b
end
b = 2
foo.call(b)
=> 7
b
=> 7 #expected 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.