Skip to content

Instantly share code, notes, and snippets.

@jdudek
Created August 14, 2012 10:16
Show Gist options
  • Save jdudek/3347991 to your computer and use it in GitHub Desktop.
Save jdudek/3347991 to your computer and use it in GitHub Desktop.
def m1
/(a)/.match("abc")
p $1
m2()
p $1
end
def m2
/(b)/.match("abc")
p $1
end
m1()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment