Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > ctx = lambda {a = 1, b =2}.binding
- => #<Binding:0x103168858>
- > eval("a", ctx)
- NameError: undefined local variable or method `a' for main:Object
- from /Users/miky/.irbrc:187:in `method_missing'
- from (irb):6
- from (irb):6
Add Comment
Please, Sign In to add comment