grosser.it
Getting the Caller Method in Ruby
Need to know which method called you ? Its as simple as: caller = CallChain.caller_method Alternatively it could be added to Object, but that would be dirty ;) class CallChain def self.caller_metho…