diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2016-10-27 00:13:15 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2016-10-27 00:27:47 +0300 |
commit | 5faa9a235c46037a3b8e4f3308fd7ccadaae8039 (patch) | |
tree | ea89b18ff5cca42117dafa96c8772cc6e00d2227 /activesupport/lib/active_support/json | |
parent | 0b4679f192a4892a6eb09bb6103d967408cfdc83 (diff) | |
download | rails-5faa9a235c46037a3b8e4f3308fd7ccadaae8039.tar.gz rails-5faa9a235c46037a3b8e4f3308fd7ccadaae8039.tar.bz2 rails-5faa9a235c46037a3b8e4f3308fd7ccadaae8039.zip |
Add missing `+` around a some literals.
Mainly around `nil`
[ci skip]
Diffstat (limited to 'activesupport/lib/active_support/json')
-rw-r--r-- | activesupport/lib/active_support/json/encoding.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/json/encoding.rb b/activesupport/lib/active_support/json/encoding.rb index cee731417f..8ff3551edc 100644 --- a/activesupport/lib/active_support/json/encoding.rb +++ b/activesupport/lib/active_support/json/encoding.rb @@ -68,7 +68,8 @@ module ActiveSupport :ESCAPE_REGEX_WITHOUT_HTML_ENTITIES, :EscapedString # Convert an object into a "JSON-ready" representation composed of - # primitives like Hash, Array, String, Numeric, and true/false/nil. + # primitives like Hash, Array, String, Numeric, + # and +true+/+false+/+nil+. # Recursively calls #as_json to the object to recursively build a # fully JSON-ready object. # |