Class: Banzai::Pipeline::BasePipeline

Inherits:
Object
  • Object
show all
Defined in:
lib/banzai/pipeline/base_pipeline.rb

Class Method Summary collapse

Class Method Details

.filtersObject


4
5
6
# File 'lib/banzai/pipeline/base_pipeline.rb', line 4

def self.filters
  FilterArray[]
end

.html_pipelineObject


12
13
14
# File 'lib/banzai/pipeline/base_pipeline.rb', line 12

def self.html_pipeline
  @html_pipeline ||= HTML::Pipeline.new(filters)
end

.transform_context(context) ⇒ Object


8
9
10
# File 'lib/banzai/pipeline/base_pipeline.rb', line 8

def self.transform_context(context)
  context
end