Class: ReferentFilter

Inherits:
Object
  • Object
show all
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

DissertationCatch

Instance Method Summary collapse

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