Created
March 19, 2015 19:08
-
-
Save filipechagas/49f9f8528158217341f8 to your computer and use it in GitHub Desktop.
How to discover the caller method name in ruby
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
caller[0][/`([^']*)'/, 1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment