Class: Leftovers::AST::ConstNode
- Defined in:
- lib/leftovers/ast/const_node.rb
Instance Method Summary collapse
Methods inherited from Node
#arguments, #as_arguments_list, #block_given?, #first, #hash?, #initialize, #kwargs, #parent, #parent=, #path, #positional_arguments, #privacy, #privacy=, #proc?, #scalar?, #second, #sym?, #to_literal_s, #to_scalar_value, #updated
Constructor Details
This class inherits a constructor from Leftovers::AST::Node
Instance Method Details
#to_s ⇒ Object
10 11 12 |
# File 'lib/leftovers/ast/const_node.rb', line 10 def to_s name.to_s end |