Class: RubyCop::Ruby::MultiAssignmentList

Inherits:
List
  • Object
show all
Defined in:
lib/ruby_cop/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::Ruby::List

Instance Method Details

#assignment(rvalue, operator) ⇒ Object



38
39
40
# File 'lib/ruby_cop/ruby/assignment.rb', line 38

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