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


6
7
8
# File 'lib/banzai/pipeline/base_pipeline.rb', line 6

def self.filters
  FilterArray[]
end

.html_pipelineObject


14
15
16
# File 'lib/banzai/pipeline/base_pipeline.rb', line 14

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

.transform_context(context) ⇒ Object


10
11
12
# File 'lib/banzai/pipeline/base_pipeline.rb', line 10

def self.transform_context(context)
  context
end