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 =
'1.1.0'

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



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

def configuration
  @configuration ||= Configuration.new
end

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

Yields:



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

def configure
  yield configuration
end