lib/html/pipeline.rb
# Internal: Applies a specific filter to the supplied doc.
#
# The filter is instrumented.
#
# Returns the result of the filter.
Applies a specific filter to the supplied doc.
The filter is instrumented.

Returns the result of the filter.
Applies a specific filter to the supplied doc . The filter is instrumented . Returns the result of the filter .
def perform_filter(filter, doc, context, result)
      payload = default_payload :filter => filter.name,
        :context => context, :result => result
      instrument "call_filter.html_pipeline", payload do
        filter.call(doc, context, result)
      end
    end
def perform_filter ( filter , doc , context , result ) payload = default_payload :filter => filter . name , :context => context , :result => result instrument "call_filter.html_pipeline" , payload do filter . call ( doc , context , result ) end end
Internal: Applies a specific filter to the supplied doc.
Internal : Applies a specific filter to the supplied doc .
filter
<not_specific>
doc
<not_specific>
context
<not_specific>
result
<not_specific>