Class: Classlist::Operation
- Defined in:
- lib/classlist/operation.rb
Overview
Classlist::Operations modify the original classlist
Constant Summary
Constants inherited from Classlist
Instance Attribute Summary
Attributes inherited from Classlist
Instance Method Summary collapse
-
#resolve(original_classlist) ⇒ Object
resolve changes the original classlist.
Methods inherited from Classlist
#+, #==, #add, #add_operation, #include?, #initialize, #item, #length, #merge, #remove, #replace, #resolve_operations, #to_a, #to_s, #toggle
Constructor Details
This class inherits a constructor from Classlist
Instance Method Details
#resolve(original_classlist) ⇒ Object
resolve changes the original classlist
8 9 10 |
# File 'lib/classlist/operation.rb', line 8 def resolve(original_classlist) resolve_operations(original_classlist) end |