Method: Blacklight::Rendering::Pipeline#initialize

Defined in:
app/presenters/blacklight/rendering/pipeline.rb

#initialize(values, config, document, context, operations, options) ⇒ Pipeline

Returns a new instance of Pipeline.

Parameters:

  • values (Array)

    the values for the field

  • config (Blacklight::Configuration::Field)

    the field’s configuration

  • document (SolrDocument)

    the document

  • context (Object)

    an execution context, used to execute the helper method in.

  • operations (Array<Class>)

    the list of operations in this Pipeline

  • options (Hash)

    options to pass to the processors. Typically only ‘:value` is used



20
21
22
23
24
25
26
27
# File 'app/presenters/blacklight/rendering/pipeline.rb', line 20

def initialize(values, config, document, context, operations, options)
  @values = values
  @config = config
  @document = document
  @context = context
  @operations = operations
  @options = options
end