File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ module JSON
5252 /(?=\* /) # single slash before this comment's end
5353 )*
5454 \* / # the End of this comment
55- |[ \t \r \n ]+ # whitespaces: space, horicontal tab, lf, cr
55+ |[ \t \r \n ]+ # whitespaces: space, horizontal tab, lf, cr
5656 )+
5757 )mx
5858
@@ -72,7 +72,7 @@ module JSON
7272 # (keys) in a JSON object. Otherwise strings are returned, which is also
7373 # the default.
7474 # * *create_additions*: If set to false, the Parser doesn't create
75- # additions even if a matchin class and create_id was found. This option
75+ # additions even if a matching class and create_id was found. This option
7676 # defaults to true.
7777 # * *object_class*: Defaults to Hash
7878 # * *array_class*: Defaults to Array
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def default_filename
103103 # @option options [Boolean] :skip_empty (false) Skip gisting empty files.
104104 # @option options [Symbol] :output (:all) The type of return value you'd like:
105105 # :html_url gives a String containing the url to the gist in a browser
106- # :short_url gives a String contianing a git.io url that redirects to html_url
106+ # :short_url gives a String containing a git.io url that redirects to html_url
107107 # :javascript gives a String containing a script tag suitable for embedding the gist
108108 # :all gives a Hash containing the parsed json response from the server
109109 #
Original file line number Diff line number Diff line change @@ -1265,7 +1265,7 @@ def j(*objs)
12651265 nil
12661266 end
12671267
1268- # Ouputs _objs_ to STDOUT as JSON strings in a pretty format, with
1268+ # Outputs _objs_ to STDOUT as JSON strings in a pretty format, with
12691269 # indentation and over many lines.
12701270 def jj ( *objs )
12711271 objs . each do |obj |
You can’t perform that action at this time.
0 commit comments