Module: CurrentMethodName

Defined in:
lib/maml/maml.rb

Overview

mechanism to get current method name..don’t really need for current implementation..was for writing handlers that could write their own name

Instance Method Summary collapse

Instance Method Details

#this_methodObject



16
17
18
19
# File 'lib/maml/maml.rb', line 16

def this_method
  caller[0]=~/`(.*?)'/
  $1
end