Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix indentation

  • Loading branch information...
commit 7107c63bac285ecf2c2466a05a7f650d2776d6fa 1 parent 3cc24e7
@dewski dewski authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/json_builder/extensions.rb
View
8 lib/json_builder/extensions.rb
@@ -20,10 +20,10 @@ def to_builder
private
def json_escape
- self.gsub(/\n/, '\\n')
- .gsub(/\r/, '\\r')
- .gsub(/\t/, '\\t')
- .gsub(/\f/, '\\f')
+ self.gsub(/\n/, '\\n').
+ gsub(/\r/, '\\r').
+ gsub(/\t/, '\\t').
+ gsub(/\f/, '\\f')
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.