lib/reality/generators/template.rb in reality-generators-1.0.0 vs lib/reality/generators/template.rb in reality-generators-1.1.0
- old
+ new
@@ -110,10 +110,10 @@
# Base class for templates that generate a single file
class SingleFileOutputTemplate < Template
attr_reader :output_filename_pattern
- def initialize(template_set, facets, target, template_key, output_filename_pattern, helpers, options = {})
+ def initialize(template_set, facets, target, template_key, output_filename_pattern, helpers = [], options = {})
super(template_set, facets, target, template_key, helpers, options)
@output_filename_pattern = output_filename_pattern
end
def output_path