aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2008-05-19 19:34:07 +0200
committerXavier Noria <fxn@hashref.com>2008-05-19 19:34:07 +0200
commitabc42927052969aa878b6f5f83d821f5771fc8c1 (patch)
tree30e4b64603ae85023fc835e4bff7c1c9e83a48cb /activesupport
parent43d0200d94b7d66cee9ef3d20c376e03f30b1b60 (diff)
downloadrails-abc42927052969aa878b6f5f83d821f5771fc8c1.tar.gz
rails-abc42927052969aa878b6f5f83d821f5771fc8c1.tar.bz2
rails-abc42927052969aa878b6f5f83d821f5771fc8c1.zip
gsub("yaml", "YAML")
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/json/decoding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb
index c58001f49f..fdb219dbf7 100644
--- a/activesupport/lib/active_support/json/decoding.rb
+++ b/activesupport/lib/active_support/json/decoding.rb
@@ -31,7 +31,7 @@ module ActiveSupport
if json[pos..scanner.pos-2] =~ DATE_REGEX
# found a date, track the exact positions of the quotes so we can remove them later.
# oh, and increment them for each current mark, each one is an extra padded space that bumps
- # the position in the final yaml output
+ # the position in the final YAML output
total_marks = marks.size
times << pos+total_marks << scanner.pos+total_marks
end