diff options
author | Florian Frank <flori@ping.de> | 2014-04-01 12:17:15 +0200 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2015-01-02 23:48:11 +0100 |
commit | 7aa0f55cf61479eb578d22d5174f65f1910d1a06 (patch) | |
tree | 5da53413fa76d407079ee763967f9425ae2236d0 | |
parent | 3c6e9c32d4a1496dfa2b8f4266148cdecbe14731 (diff) | |
download | json-7aa0f55cf61479eb578d22d5174f65f1910d1a06.tar.gz |
Change documentation to reflect new default value
-rw-r--r-- | lib/json/common.rb | 4 |
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, |