ruby - Is there a way to know the invoking method? -


I know that class method tells me what is the name of the class of an object, how can I start? Is there any way to know this?

shares this information:

Do you ever call the call stack Wanted to see without any exception?

  caller.each {| C | Puts c}  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -