lib/vedeu/support/template.rb in vedeu-0.4.50 vs lib/vedeu/support/template.rb in vedeu-0.4.51
- old
+ new
@@ -21,10 +21,10 @@
# @option options name [String] The name of an interface.
# @return [Template]
def initialize(object, path, options = {})
@object = object
@path = path.to_s
- @options = options
+ @options = options || {}
end
# @return [void]
def parse
ERB.new(load, nil, '-').result(binding)