Class: ReferentFilter
- Inherits:
-
Object
- Object
- ReferentFilter
- Defined in:
- app/referent_filters/referent_filter.rb
Overview
Kind of analagous to SFX “source parser”. Takes ContextObjects passed in, and filters/mutates them.
specific subclasses in lib/context_object_filters
configured to apply in environment.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#filter(referent) ⇒ Object
input: Referent object will mutate/modify it.
Instance Method Details
#filter(referent) ⇒ Object
input: Referent object will mutate/modify it.
12 13 14 |
# File 'app/referent_filters/referent_filter.rb', line 12 def filter(referent) # implement in subclass end |