From 730440714b31c276407f562e492e0b96d7219084 Mon Sep 17 00:00:00 2001 From: Josh Kline Date: Sat, 28 Dec 2013 14:58:30 -0800 Subject: [PATCH] Spelling and grammar fixes for comments. --- lib/json/pure/generator.rb | 2 +- lib/json/pure/parser.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb index 9056a5d7..fc93e3f3 100644 --- a/lib/json/pure/generator.rb +++ b/lib/json/pure/generator.rb @@ -468,7 +468,7 @@ def to_json(state = nil, *args) 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 a41d1eeb..937f56f0 100644 --- a/lib/json/pure/parser.rb +++ b/lib/json/pure/parser.rb @@ -64,7 +64,7 @@ class Parser < StringScanner # (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