class Ruby::Prism::ConstantWriteNode

Public Instance Methods

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

: () -> String

# File lib/ruby/prism/node_ext.rb, line 210
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 203
def full_name_parts
  [name]
end