aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRobin Neumann <robin.neumann@absolventa.de>2014-10-15 16:15:20 +0200
committerRobin Neumann <robin.neumann@absolventa.de>2014-10-15 16:15:20 +0200
commit61f157e11c4e04a67f888848cda6bdbe7b46c466 (patch)
treef8ddea9f81a07db504edad433bcaadc1ee1e056f /activesupport
parent62f96c9e1fdfa5b832073f90e1fe592fbf3163bb (diff)
downloadrails-61f157e11c4e04a67f888848cda6bdbe7b46c466.tar.gz
rails-61f157e11c4e04a67f888848cda6bdbe7b46c466.tar.bz2
rails-61f157e11c4e04a67f888848cda6bdbe7b46c466.zip
specify protocol for external links
to ensure correct parsing result of rdoc
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/json/decoding.rb2
-rw-r--r--activesupport/lib/active_support/json/encoding.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/json/decoding.rb b/activesupport/lib/active_support/json/decoding.rb
index 8b5fc70dee..35548f3f56 100644
--- a/activesupport/lib/active_support/json/decoding.rb
+++ b/activesupport/lib/active_support/json/decoding.rb
@@ -12,7 +12,7 @@ module ActiveSupport
class << self
# Parses a JSON string (JavaScript Object Notation) into a hash.
- # See www.json.org for more info.
+ # See http://www.json.org for more info.
#
# ActiveSupport::JSON.decode("{\"team\":\"rails\",\"players\":\"36\"}")
# => {"team" => "rails", "players" => "36"}
diff --git a/activesupport/lib/active_support/json/encoding.rb b/activesupport/lib/active_support/json/encoding.rb
index f29d42276d..a14ed7ee94 100644
--- a/activesupport/lib/active_support/json/encoding.rb
+++ b/activesupport/lib/active_support/json/encoding.rb
@@ -13,7 +13,7 @@ module ActiveSupport
module JSON
# Dumps objects in JSON (JavaScript Object Notation).
- # See www.json.org for more info.
+ # See http://www.json.org for more info.
#
# ActiveSupport::JSON.encode({ team: 'rails', players: '36' })
# # => "{\"team\":\"rails\",\"players\":\"36\"}"