Class: Parser::Source::Map::Operator
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Map
|
|
|
Instance Chain:
self,
Map
|
|
| Inherits: |
Map
|
| Defined in: | lib/rubocop/ast/vendor/parser/source/map/operator.rb |
Class Method Summary
- .new(operator, expression) ⇒ Operator constructor
Instance Attribute Summary
- #operator readonly
Constructor Details
.new(operator, expression) ⇒ Operator
# File 'lib/rubocop/ast/vendor/parser/source/map/operator.rb', line 9
def initialize(operator, expression) @operator = operator super(expression) end
Instance Attribute Details
#operator (readonly)
[ GitHub ]# File 'lib/rubocop/ast/vendor/parser/source/map/operator.rb', line 7
attr_reader :operator