lib/fukuzatsu/formatters/html_index.rb in fukuzatsu-0.9.12 vs lib/fukuzatsu/formatters/html_index.rb in fukuzatsu-0.9.13
- old
+ new
@@ -13,12 +13,11 @@
def filename
"index.htm"
end
def output_path
- output_path = "doc/fukuzatsu/"
- FileUtils.mkpath(output_path)
- output_path
+ FileUtils.mkpath(root_path)
+ root_path
end
def content
Haml::Engine.new(output_template).render(
Object.new, {
\ No newline at end of file