Class: Rnfse::CallChain

Inherits:
Object
  • Object
show all
Defined in:
lib/rnfse/call_chain.rb

Class Method Summary collapse

Class Method Details

.caller_method(depth = 1) ⇒ Object



4
5
6
# File 'lib/rnfse/call_chain.rb', line 4

def self.caller_method(depth=1)
  parse_caller(caller(depth+1).first).last
end