summaryrefslogtreecommitdiff
path: root/lib/json/common.rb
diff options
context:
space:
mode:
authorFlorian Frank <flori@ping.de>2014-04-01 12:17:15 +0200
committerFlorian Frank <flori@ping.de>2014-04-01 12:17:15 +0200
commit22e724c4a2fbeb47009320c90f58f4532045f60c (patch)
treee0c340c0d3c79f1456e2f935c12500a10c3a3044 /lib/json/common.rb
parentbc46b177d520c2893b52ee13fd5ceb0b65f06a79 (diff)
downloadjson-22e724c4a2fbeb47009320c90f58f4532045f60c.tar.gz
Change documentation to reflect new default value
Diffstat (limited to 'lib/json/common.rb')
-rw-r--r--lib/json/common.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/json/common.rb b/lib/json/common.rb
index c01590b..426d933 100644
--- a/lib/json/common.rb
+++ b/lib/json/common.rb
@@ -148,7 +148,7 @@ module JSON
# the default.
# * *create_additions*: If set to false, the Parser doesn't create
# additions even if a matching class and create_id was found. This option
- # defaults to true.
+ # defaults to false.
# * *object_class*: Defaults to Hash
# * *array_class*: Defaults to Array
def parse(source, opts = {})
@@ -169,7 +169,7 @@ module JSON
# to true.
# * *create_additions*: If set to false, the Parser doesn't create
# additions even if a matching class and create_id was found. This option
- # defaults to true.
+ # defaults to false.
def parse!(source, opts = {})
opts = {
:max_nesting => false,