diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb index a1143f8b0..471af635a 100644 --- a/lib/json/pure/generator.rb +++ b/lib/json/pure/generator.rb @@ -405,7 +405,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 534029649..1c8f59f80 100644 --- a/lib/json/pure/parser.rb +++ b/lib/json/pure/parser.rb @@ -66,7 +66,7 @@ class Parser < StringScanner # 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