Class: ROF::Filter

Inherits:
Object
  • Object
show all
Defined in:
lib/rof/filter.rb

Overview

A placeholder implementation for an ROF::Filter.

See Also:

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Filter



6
7
# File 'lib/rof/filter.rb', line 6

def initialize(options = {})
end

Instance Method Details

#process(obj_list) ⇒ Array<Hash>

Performs operations on the given obj_list. This can be things like:

  • Adding new keys to the inner Hash

  • Converting placeholder values with calculated values (@see ROF::Filters::Label)

  • Other changes

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/rof/filter.rb', line 17

def process(obj_list)
  raise NotImplementedError
end