Class: Rucoa::Nodes::CasgnNode

Inherits:
Base
  • Object
show all
Includes:
Rucoa::NodeConcerns::QualifiedName
Defined in:
lib/rucoa/nodes/casgn_node.rb

Instance Method Summary collapse

Methods included from Rucoa::NodeConcerns::QualifiedName

#qualified_name

Methods inherited from Base

#ancestors, #child_nodes, #descendant_nodes, #each_ancestor, #each_child_node, #each_descendant_node, #include_position?, #initialize, #module_nesting, #namespace, #next_sibling_nodes, #parent, #parent=, #previous_sibling_nodes, #updated

Constructor Details

This class inherits a constructor from Rucoa::Nodes::Base

Instance Method Details

#nameString

Returns:

  • (String)


9
10
11
# File 'lib/rucoa/nodes/casgn_node.rb', line 9

def name
  children[1].to_s
end