class RuboCop::AST::AliasNode

to all ‘alias` nodes within RuboCop.
node when the builder constructs the AST, making its methods available
A node extension for `alias` nodes. This will be used in place of a plain

def new_identifier

Returns:
  • (SymbolNode) - the new identifier
def new_identifier
  node_parts[0]
end

def old_identifier

Returns:
  • (SymbolNode) - the old identifier
def old_identifier
  node_parts[1]
end