Method: Prism::AliasMethodNode#new_name

Defined in:
lib/prism/node.rb

#new_nameObject (readonly)

Represents the new name of the method that will be aliased.

alias foo bar
      ^^^

alias :foo :bar
      ^^^^

alias :"#{foo}" :"#{bar}"
      ^^^^^^^^^


383
384
385
# File 'lib/prism/node.rb', line 383

def new_name
  @new_name
end