Class: Bidify::Bidifier

Inherits:
Object
  • Object
show all
Defined in:
lib/bidify/bidifier.rb

Overview

Super class for custom bidifiers

Direct Known Subclasses

HtmlStringBidifier

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Bidifier

Instanciate a bidifier object with the given optional options hash

Parameters:

  • options (Hash) (defaults to: {})


11
12
13
14
15
# File 'lib/bidify/bidifier.rb', line 11

def initialize(options = {})
  @options = options

  configure
end

Instance Method Details

#applyObject

Raises:

  • (NotImplementedError)


17
18
19
# File 'lib/bidify/bidifier.rb', line 17

def apply
  raise NotImplementedError
end