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
52
52
/(?=\* /) # single slash before this comment's end
53
53
)*
54
54
\* / # 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
56
56
)+
57
57
)mx
58
58
@@ -72,7 +72,7 @@ module JSON
72
72
# (keys) in a JSON object. Otherwise strings are returned, which is also
73
73
# the default.
74
74
# * *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
76
76
# defaults to true.
77
77
# * *object_class*: Defaults to Hash
78
78
# * *array_class*: Defaults to Array
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ def default_filename
103
103
# @option options [Boolean] :skip_empty (false) Skip gisting empty files.
104
104
# @option options [Symbol] :output (:all) The type of return value you'd like:
105
105
# :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
107
107
# :javascript gives a String containing a script tag suitable for embedding the gist
108
108
# :all gives a Hash containing the parsed json response from the server
109
109
#
Original file line number Diff line number Diff line change @@ -1265,7 +1265,7 @@ def j(*objs)
1265
1265
nil
1266
1266
end
1267
1267
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
1269
1269
# indentation and over many lines.
1270
1270
def jj ( *objs )
1271
1271
objs . each do |obj |
You can’t perform that action at this time.
0 commit comments