summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-25 13:45:03 +0900
committerGitHub <noreply@github.com>2020-06-25 13:45:03 +0900
commitfb6eefed8ecfda0bac0640e07f0daa85eed259d3 (patch)
treef98d2794b412f16162322e45c87b3bf086ee1808
parentda50acc595487c6da9d04011c6b8606be8e54e67 (diff)
parent730440714b31c276407f562e492e0b96d7219084 (diff)
downloadjson-fb6eefed8ecfda0bac0640e07f0daa85eed259d3.tar.gz
Merge pull request #191 from jkanywhere/spell-fixes
Spelling and grammar fixes for comments.
-rw-r--r--lib/json/pure/generator.rb2
-rw-r--r--lib/json/pure/parser.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb
index a1143f8..471af63 100644
--- a/lib/json/pure/generator.rb
+++ b/lib/json/pure/generator.rb
@@ -405,7 +405,7 @@ module JSON
end
end
- # Module that holds the extinding methods if, the String module is
+ # Module that holds the extending methods if, the String module is
# included.
module Extend
# Raw Strings are JSON Objects (the raw bytes are stored in an
diff --git a/lib/json/pure/parser.rb b/lib/json/pure/parser.rb
index 5340296..1c8f59f 100644
--- a/lib/json/pure/parser.rb
+++ b/lib/json/pure/parser.rb
@@ -66,7 +66,7 @@ module JSON
# also the default. It's not possible to use this option in
# conjunction with the *create_additions* option.
# * *create_additions*: If set to true, the Parser creates
- # additions when if a matching class and create_id was found. This
+ # additions when a matching class and create_id are found. This
# option defaults to false.
# * *object_class*: Defaults to Hash
# * *array_class*: Defaults to Array