Class: RubyCop::Ruby::ClassVariable

Inherits:
Variable show all
Defined in:
lib/ruby_cop/ruby/variables.rb

Instance Attribute Summary

Attributes inherited from Token

#position, #token

Instance Method Summary collapse

Methods inherited from Token

#initialize

Methods inherited from Node

#accept

Constructor Details

This class inherits a constructor from RubyCop::Ruby::Token

Instance Method Details

#assignment(rvalue, operator) ⇒ Object



7
8
9
# File 'lib/ruby_cop/ruby/variables.rb', line 7

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