Class: HTML::Pipeline::RubyMarkup::Transformer
- Inherits:
-
Object
- Object
- HTML::Pipeline::RubyMarkup::Transformer
- Defined in:
- lib/html/pipeline/ruby_markup/transformer.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(content) ⇒ Transformer
constructor
A new instance of Transformer.
- #run ⇒ Object
Constructor Details
#initialize(content) ⇒ Transformer
Returns a new instance of Transformer.
14 15 16 |
# File 'lib/html/pipeline/ruby_markup/transformer.rb', line 14 def initialize(content) @content = content end |
Class Method Details
.run(content) ⇒ Object
10 11 12 |
# File 'lib/html/pipeline/ruby_markup/transformer.rb', line 10 def self.run(content) new(content).run end |
Instance Method Details
#run ⇒ Object
18 19 20 |
# File 'lib/html/pipeline/ruby_markup/transformer.rb', line 18 def run transform_ruby_markups! end |