Skip to content

Instantly share code, notes, and snippets.

@yulrizka
Created July 15, 2015 15:34
Show Gist options
  • Save yulrizka/2f69da15f0f739e7ecc1 to your computer and use it in GitHub Desktop.
Save yulrizka/2f69da15f0f739e7ecc1 to your computer and use it in GitHub Desktop.
$variable_global = 1
module CS
A_CONSTANT = 2
class Client
@@class_var = 3
@instance_variable = 4
def login(username, password)
@instance_variable = 41
local_variable = 5
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment