lib/ronn/template.rb in ronn-ng-0.9.1 vs lib/ronn/template.rb in ronn-ng-0.10.0.pre.SNAPSHOT
- old
+ new
@@ -5,9 +5,10 @@
class Template < Mustache
self.template_path = File.dirname(__FILE__) + '/template'
self.template_extension = 'html'
def initialize(document, style_path = ENV['RONN_STYLE'].to_s.split(':'))
+ super()
@document = document
@style_path = style_path + [Template.template_path]
end
def render(template = 'default')