Skip to content

Instantly share code, notes, and snippets.

@acook
Created March 23, 2013 02:01
Show Gist options
  • Select an option

  • Save acook/5226076 to your computer and use it in GitHub Desktop.

Select an option

Save acook/5226076 to your computer and use it in GitHub Desktop.
x = 1
some_loop_or_iterator {
x = 0
x = x + 1
}
x # what is the value of x?
y = false
if y then
z = 2
end
z # what is the value of z?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment