Module: Htmltoword

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

Defined Under Namespace

Modules: HtmltowordHelper Classes: Document

Constant Summary collapse

VERSION =
"0.1.8"

Class Method Summary collapse

Class Method Details

.rootObject



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

def self.root
  File.expand_path '../..', __FILE__
end

.templates_pathObject



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

def self.templates_path
  File.join root, "templates"
end