Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nil
- ^
- | parent
- +-----------------------------------------------+
- | def main |
- | a = "Hello" |
- | ^ |
- | | parent |
- | +-----------------------------------+ |
- | | [1, 2, 3].each do |b| | |
- | | ^ | |
- | | | parent | |
- | | +-------------------------+ | |
- | | | say_hello do | | |
- | | | puts "#{a}: #{b}" | | |
- | | | end | | |
- | | +-------------------------+ | |
- | | end | |
- | +-----------------------------------+ |
- | end |
- +-----------------------------------------------+
Add Comment
Please, Sign In to add comment