class Method
Public Instance Methods
full_name()
click to toggle source
Returns the method's {::Method#receiver} and {::Method#name} in the common `A.cls_meth` / `A#inst_meth` format.
# File lib/nrser/core_ext/method/full_name.rb, line 9 def full_name case receiver when Module "#{ receiver.safe_name }.#{ name }" else "#{ receiver.class.safe_name }##{ name }" end end
Also aliased as: to_summary