Class: Classlist::Operation

Inherits:
Classlist show all
Defined in:
lib/classlist/operation.rb

Overview

Classlist::Operations modify the original classlist

Direct Known Subclasses

Add, Remove, Reset

Constant Summary

Constants inherited from Classlist

VERSION

Instance Attribute Summary

Attributes inherited from Classlist

#entries, #operations

Instance Method Summary collapse

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