class Ruby::Prism::ConstantTargetNode

Public Instance Methods

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

: () -> String

# File lib/ruby/prism/node_ext.rb, line 306
def full_name
  name.to_s
end

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

: () -> Array

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