Created
May 6, 2014 01:02
-
-
Save themoxman/d9ce4a949775dd7dc250 to your computer and use it in GitHub Desktop.
This file contains 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
# the code | |
def method_i_want_to_trace | |
method_a | |
method_b | |
end | |
def method_a | |
method_a1 | |
method_a2 | |
end | |
def method_b | |
method_b1 | |
method_b2 | |
end | |
def method_a1; end | |
def method_a2; end | |
def method_b1; end | |
def method_b2; end | |
# the output (trace) | |
method_i_want_to_trace | |
/ \ | |
method_a method_b | |
/ \ / \ | |
method_a1 method_a2 method_b1 method_b2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment