Class: Rubycop::Analyzer::Ruby::Constant
- Inherits:
-
Identifier
- Object
- Node
- Token
- Identifier
- Rubycop::Analyzer::Ruby::Constant
- Defined in:
- lib/rubycop/analyzer/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::Analyzer::Ruby::Token
Instance Attribute Details
#namespace ⇒ Object
Returns the value of attribute namespace.
5 6 7 |
# File 'lib/rubycop/analyzer/ruby/constants.rb', line 5 def namespace @namespace end |
Instance Method Details
#assignment(rvalue, operator) ⇒ Object
7 8 9 |
# File 'lib/rubycop/analyzer/ruby/constants.rb', line 7 def assignment(rvalue, operator) ConstantAssignment.new(self, rvalue, operator) end |