Method: Prism::AliasMethodNode#old_name
- Defined in:
- lib/prism/node.rb
#old_name ⇒ Object (readonly)
Represents the old name of the method that will be aliased.
alias foo bar
^^^
alias :foo :bar
^^^^
alias :"#{foo}" :"#{bar}"
^^^^^^^^^
395 396 397 |
# File 'lib/prism/node.rb', line 395 def old_name @old_name end |