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