Skip to content

Instantly share code, notes, and snippets.

@jdudek jdudek/gist:3347991
Created Aug 14, 2012

Embed
What would you like to do?
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
You can’t perform that action at this time.