Module: Htmltoword

Defined in:
lib/htmltoword.rb,
lib/htmltoword/version.rb,
lib/htmltoword/document.rb,
lib/htmltoword/configuration.rb,
lib/htmltoword/htmltoword_helper.rb

Defined Under Namespace

Modules: HtmltowordHelper Classes: Configuration, Document

Constant Summary collapse

VERSION =
"0.5.1"

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



14
15
16
# File 'lib/htmltoword.rb', line 14

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



10
11
12
# File 'lib/htmltoword.rb', line 10

def configure
  yield configuration
end