Class: Sakusei::ConverterBase

Inherits:
Object
  • Object
show all
Defined in:
lib/sakusei/converter_base.rb

Direct Known Subclasses

HtmlConverter, MdToPdfConverter

Instance Method Summary collapse

Constructor Details

#initialize(content, style_pack, options = {}) ⇒ ConverterBase

Returns a new instance of ConverterBase.



7
8
9
10
11
12
# File 'lib/sakusei/converter_base.rb', line 7

def initialize(content, style_pack, options = {})
  @content    = content
  @style_pack = style_pack
  @options    = options
  @source_dir = options[:source_dir]
end