Created
May 5, 2009 19:31
-
-
Save simonask/107150 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
scope_ext: Object.new() | |
scope_ext.lol: 123 | |
foo: { | |
puts(lol) | |
} | |
foo.inject_scope(scope_ext) | |
foo() // => "123" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment