Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def a(&block)
- ('a'..'zzzz').each do |n|
- begin
- block.binding.eval("#{n} = '#{n}!'")
- rescue Exception
- end
- end
- end
- def z
- asdf = 1
- a{ asde = 2 }
- asdf
- end
- puts z
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement