Skip to content

Commit 232b69c

Browse files
authored
Merge pull request #346 from EdwardBetts/spelling
Correct spelling mistakes
2 parents 4c85d16 + 573a359 commit 232b69c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/gist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

lib/gist.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
#

vendor/json.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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|

0 commit comments

Comments
 (0)