Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
a = lambda {
b.call()
}
b = lambda {
:IMA_B_LOL
}
b.call() # raises nothing
a.call() # raises NameError: undefined local variable or method ‘b’ for main:Object ... WTF!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment