method
original_name
v2_5_5 -
Show latest stable
- Class:
UnboundMethod
original_name()public
Returns the original name of the method.
class C def foo; end alias bar foo end C.instance_method(:bar).original_name # => :foo
original_name()Returns the original name of the method.
class C def foo; end alias bar foo end C.instance_method(:bar).original_name # => :foo