lib/saga/formatter.rb in saga-0.8.1 vs lib/saga/formatter.rb in saga-0.9.0

- old
+ new

@@ -18,10 +18,10 @@ end template_file = File.join(@options[:template], 'document.erb') if File.exist?(template_file) template = Erubis::Eruby.new(File.read(template_file)) - template.result(@document.send(:binding)) + template.result(@document._binding) else raise ArgumentError, "The template at path `#{template_file}' could not be found." end end