Skip to content

Instantly share code, notes, and snippets.

@zeroeth
Created April 28, 2014 21:51
Show Gist options
  • Select an option

  • Save zeroeth/11385083 to your computer and use it in GitHub Desktop.

Select an option

Save zeroeth/11385083 to your computer and use it in GitHub Desktop.
dear ruby
@undefined_variable
# => nil
@@undefined_variable
# (eval): (eval): uninitialized class variable @@undefined_variable in Object (NameError)
$undefined_variable
# => nil
undefined_variable
# (eval): undefined local variable or method `undefined_variable' for main:Object (NameError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment