Created
January 26, 2016 02:38
-
-
Save StevenJL/bff00664d2eb7e66a7bf 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
| def call_em_up_once | |
| puts "CALL EM UP ONCE" | |
| caller.each {|line| puts line} | |
| puts "\n" | |
| end | |
| call_em_up_once | |
| class Foo | |
| def call_em_up_twice | |
| puts "CALL EM UP TWICE" | |
| caller.each {|line| puts line} | |
| puts "\n" | |
| end | |
| end | |
| Foo.new.call_em_up_twice |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment