Skip to content

Instantly share code, notes, and snippets.

@tang3w
Last active December 31, 2015 12:58
Show Gist options
  • Save tang3w/7989266 to your computer and use it in GitHub Desktop.
Save tang3w/7989266 to your computer and use it in GitHub Desktop.
class A
@@a = 1
def run
puts @@a
end
end
@@a = 2
A.new.run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment