Class: Prism::ConstantReadNode
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: 
          self,
          Node
         | |
| Instance Chain: 
          self,
          Node
         | |
| Inherits: | Node 
 | 
| Defined in: | lib/prism/node_ext.rb | 
Instance Method Summary
- 
    
      #full_name  
    
    Returns the full name of this constant. 
- 
    
      #full_name_parts  
    
    Returns the list of parts for the full name of this constant. 
Instance Method Details
#full_name
Returns the full name of this constant. For example: “Foo”
# File 'lib/prism/node_ext.rb', line 96
def full_name name.name 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 91
def full_name_parts [name] end