Skip to content

Instantly share code, notes, and snippets.

@ethangunderson
Last active August 29, 2015 14:07
Show Gist options
  • Save ethangunderson/ca5ae2c9f7da893efa85 to your computer and use it in GitHub Desktop.
Save ethangunderson/ca5ae2c9f7da893efa85 to your computer and use it in GitHub Desktop.
irb(main):001:0> foo
NameError: undefined local variable or method `foo' for main:Object
from (irb):1
from /Users/egunderson/.rubies/ruby-2.1.2/bin/irb:11:in `<main>'
irb(main):002:0> foo = 'bar' if false
=> nil
irb(main):003:0> foo
=> nil
irb(main):004:0>
@mikelikesbikes
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment