Created
August 14, 2012 10:16
-
-
Save jdudek/3347991 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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