class ROF::Filter

A placeholder implementation for an ROF::Filter. @see ROF::Filters

Public Class Methods

new(options = {}) click to toggle source

@param [Hash] options - a hash with symbol keys; used to configure the instantiation of the filter

# File lib/rof/filter.rb, line 6
def initialize(options = {})
end

Public Instance Methods

process(obj_list) click to toggle source

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

@param [Array<Hash>] obj_list - An Array of Hash objects @return [Array<Hash>] a changed version of the given

# File lib/rof/filter.rb, line 17
def process(obj_list)
  raise NotImplementedError
end