Class: Lims::Core::Persistence::Filter Abstract
- Inherits:
-
Object
- Object
- Lims::Core::Persistence::Filter
- Defined in:
- lib/lims-core/persistence/filter.rb
Overview
This class is abstract.
Base class of all filters.
A filter acts on persistors and can be chained. Note: This class is not really usefull in a *Ruby world* and is mainly here for documentation.
Direct Known Subclasses
Instance Method Summary (collapse)
-
- (Persistor) call(persistor)
Transform a persistor to a "filtered persistor" The filtered persistor loading only the filtered object.
Instance Method Details
- (Persistor) call(persistor)
Transform a persistor to a "filtered persistor" The filtered persistor loading only the filtered object. Note that the actual implementation of the filter depends on the type of the persistor (Sequel for example).
17 18 19 |
# File 'lib/lims-core/persistence/filter.rb', line 17 def call(persistor) raise NotImplementedError end |