class Prism::ConstantReadNode

Public Instance Methods

full_name ()

Returns the full name of this constant. For example: “Foo”

# File lib/prism/node_ext.rb, line 139
def full_name
  name.to_s
end
full_name_parts ()

Returns the list of parts for the full name of this constant. For example: [:Foo]

# File lib/prism/node_ext.rb, line 134
def full_name_parts
  [name]
end