module RuboCop::AST::ConstantNode

def short_name

Returns:
  • (Symbol) - the demodulized name of the constant: "::Foo::Bar" => :Bar
def short_name
  children[1]
end