lib/roboto/content_provider.rb in roboto-0.2.0 vs lib/roboto/content_provider.rb in roboto-1.0.0

- old
+ new

@@ -8,10 +8,10 @@ def contents(custom_binding = nil) return @contents unless @contents.nil? @contents = File.read(path) if path.extname == '.erb' - @contents = ERB.new(@contents).result(custom_binding ? custom_binding : binding) + @contents = ERB.new(@contents, nil, '>').result(custom_binding ? custom_binding : binding) end @contents end # Determines the most relevant robots.txt file.