lib/genit/compiler.rb in genit-0.2 vs lib/genit/compiler.rb in genit-0.3
- old
+ new
@@ -30,16 +30,16 @@
end
end
def compile_page
pc = PageCompiler.new @working_dir, @filename
- @template = pc.compile
+ @page = pc.compile
save_file_as_html
end
def save_file_as_html
doc_writer = DocumentWriter.new @working_dir
- doc_writer.save_as_html @template, @filename
+ doc_writer.save_as_html @page, @filename
end
end
end