Class: HtmlPipelineRails::Configuration
- Inherits:
-
Object
- Object
- HtmlPipelineRails::Configuration
- Defined in:
- lib/html_pipeline_rails/configuration.rb
Instance Attribute Summary collapse
-
#pipeline ⇒ Object
Returns the value of attribute pipeline.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #reset! ⇒ Object
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/html_pipeline_rails/configuration.rb', line 5 def initialize self.reset! end |
Instance Attribute Details
#pipeline ⇒ Object
Returns the value of attribute pipeline.
3 4 5 |
# File 'lib/html_pipeline_rails/configuration.rb', line 3 def pipeline @pipeline end |
Instance Method Details
#reset! ⇒ Object
9 10 11 12 13 |
# File 'lib/html_pipeline_rails/configuration.rb', line 9 def reset! self.pipeline = HTML::Pipeline.new([ HTML::Pipeline::MarkdownFilter ]) end |