Class: Noiseless::AST::Bulk
Instance Attribute Summary collapse
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(operations) ⇒ Bulk
constructor
A new instance of Bulk.
Methods inherited from Node
Constructor Details
#initialize(operations) ⇒ Bulk
Returns a new instance of Bulk.
8 9 10 11 |
# File 'lib/noiseless/ast/bulk.rb', line 8 def initialize(operations) super() @operations = operations end |
Instance Attribute Details
#operations ⇒ Object (readonly)
Returns the value of attribute operations.
6 7 8 |
# File 'lib/noiseless/ast/bulk.rb', line 6 def operations @operations end |
Instance Method Details
#==(other) ⇒ Object
13 14 15 |
# File 'lib/noiseless/ast/bulk.rb', line 13 def ==(other) other.is_a?(self.class) && operations == other.operations end |