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