Module: Htmltoword

Defined in:
lib/htmltoword.rb,
lib/htmltoword/railtie.rb,
lib/htmltoword/version.rb,
lib/htmltoword/document.rb,
lib/htmltoword/renderer.rb,
lib/htmltoword/configuration.rb,
lib/htmltoword/helpers/xslt_helper.rb,
lib/htmltoword/helpers/templates_helper.rb

Defined Under Namespace

Modules: TemplatesHelper, XSLTHelper Classes: Configuration, Document, Railtie, Renderer

Constant Summary collapse

VERSION =
'0.6.0'

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



12
13
14
# File 'lib/htmltoword.rb', line 12

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



8
9
10
# File 'lib/htmltoword.rb', line 8

def configure
  yield configuration
end