Class: Maccro::DSL::AndAssignment
Instance Attribute Summary
Attributes inherited from Node
#first_column, #first_lineno, #last_column, #last_lineno, #name
Class Method Summary collapse
Instance Method Summary collapse
-
#type ⇒ Object
x &&= y.
Methods inherited from Node
#capture, #children, #initialize, #match?, #to_code_range
Methods included from ASTNodeWrapper
#capture, #children, #match?, #to_code_range
Constructor Details
This class inherits a constructor from Maccro::DSL::Node
Class Method Details
.match?(node) ⇒ Boolean
64 |
# File 'lib/maccro/dsl/assign.rb', line 64 def self.match?(node); node.type == :OP_ASGN_AND ; end |
Instance Method Details
#type ⇒ Object
x &&= y
63 |
# File 'lib/maccro/dsl/assign.rb', line 63 def type; :OP_ASGN_AND; end |