Class: Rubycop::Analyzer::Ruby::MultiAssignmentList

Inherits:
List
  • Object
show all
Defined in:
lib/rubycop/analyzer/ruby/assignment.rb

Instance Attribute Summary

Attributes inherited from List

#elements

Instance Method Summary collapse

Methods inherited from List

#add, #initialize

Methods inherited from Node

#accept

Constructor Details

This class inherits a constructor from Rubycop::Analyzer::Ruby::List

Instance Method Details

#assignment(rvalue, operator) ⇒ Object



39
40
41
# File 'lib/rubycop/analyzer/ruby/assignment.rb', line 39

def assignment(rvalue, operator)
  MultiAssignment.new(self, rvalue, operator)
end