summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Kline <github.com@track.jonfram.net>2013-12-28 14:58:30 -0800
committerJosh Kline <github.com@track.jonfram.net>2013-12-28 14:58:30 -0800
commit730440714b31c276407f562e492e0b96d7219084 (patch)
treedf92159b7b1032a82323ddc35f9efc5bf5494446
parent52f2086682ce8dd9888fd2f6b6e65269e73c8535 (diff)
downloadjson-730440714b31c276407f562e492e0b96d7219084.tar.gz
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 9056a5d..fc93e3f 100644
--- a/lib/json/pure/generator.rb
+++ b/lib/json/pure/generator.rb
@@ -468,7 +468,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 a41d1ee..937f56f 100644
--- a/lib/json/pure/parser.rb
+++ b/lib/json/pure/parser.rb
@@ -64,7 +64,7 @@ module JSON
# (keys) in a JSON object. Otherwise strings are returned, which is also
# the default.
# * *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