Created
March 10, 2017 07:47
-
-
Save ndnenkov/eb8bc970b727236317f39f0d677d3030 to your computer and use it in GitHub Desktop.
`foo = foo # => nil` is worse than you thought
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p binding.local_variables # => [:foo] | |
p binding.local_variable_get(:foo) # => nil | |
puts "I'm just a buffer" | |
foo = foo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment