Class: RubyCop::Ruby::Constant
- Inherits:
-
Identifier
- Object
- Node
- Token
- Identifier
- RubyCop::Ruby::Constant
- Defined in:
- lib/ruby_cop/ruby/constants.rb
Instance Attribute Summary collapse
-
#namespace ⇒ Object
Returns the value of attribute namespace.
Attributes inherited from Token
Instance Method Summary collapse
Methods inherited from Token
Methods inherited from Node
Constructor Details
This class inherits a constructor from RubyCop::Ruby::Token
Instance Attribute Details
#namespace ⇒ Object
Returns the value of attribute namespace.
4 5 6 |
# File 'lib/ruby_cop/ruby/constants.rb', line 4 def namespace @namespace end |
Instance Method Details
#assignment(rvalue, operator) ⇒ Object
6 7 8 |
# File 'lib/ruby_cop/ruby/constants.rb', line 6 def assignment(rvalue, operator) ConstantAssignment.new(self, rvalue, operator) end |