Class: Perron::HtmlProcessor::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/perron/html_processor/base.rb

Direct Known Subclasses

LazyLoadImages, SyntaxHighlight, TargetBlank

Instance Method Summary collapse

Constructor Details

#initialize(html) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/perron/html_processor/base.rb', line 6

def initialize(html)
  @html = html
end

Instance Method Details

#processObject

Raises:

  • (NotImplementedError)


10
11
12
# File 'lib/perron/html_processor/base.rb', line 10

def process
  raise NotImplementedError
end