diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-20 17:41:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-20 17:41:14 +0000 |
commit | e8eb95ec33334f40f3f3bbcbf16404aee07dfa8e (patch) | |
tree | c7fade34f792e138365b59af246ea316616c04e7 /ext/json/lib/json/common.rb | |
parent | a91cd48aa19dd31ec5abb6e4b982f2077bedcbcd (diff) |
* ext/json: import JSON v 1.1.3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/json/lib/json/common.rb')
-rw-r--r-- | ext/json/lib/json/common.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index 7bc5ae0656..499fcc0dae 100644 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -2,7 +2,7 @@ require 'json/version' module JSON class << self - # If _object_ is string like parse the string and return the parsed result + # If _object_ is string-like parse the string and return the parsed result # as a Ruby data structure. Otherwise generate a JSON text from the Ruby # data structure object and return it. # @@ -184,7 +184,8 @@ module JSON end # :stopdoc: - # I want to deprecate these later, so I'll first be silent about them, and later delete them. + # I want to deprecate these later, so I'll first be silent about them, and + # later delete them. alias unparse generate module_function :unparse # :startdoc: @@ -238,7 +239,7 @@ module JSON # :startdoc: # Load a ruby data structure from a JSON _source_ and return it. A source can - # either be a string like object, an IO like object, or an object responding + # either be a string-like object, an IO like object, or an object responding # to the read method. If _proc_ was given, it will be called with any nested # Ruby object as an argument recursively in depth first order. # @@ -327,7 +328,7 @@ module ::Kernel nil end - # If _object_ is string like parse the string and return the parsed result as + # If _object_ is string-like parse the string and return the parsed result as # a Ruby data structure. Otherwise generate a JSON text from the Ruby data # structure object and return it. # @@ -351,4 +352,3 @@ class ::Class respond_to?(:json_create) end end - # vim: set et sw=2 ts=2: |