Skip to content

Commit 5be3ebb

Browse files
nobuhsbt
authored andcommitted
[ruby/json] Remove trailing spaces [ci skip]
ruby/json@2d2e0d403d
1 parent f0ee763 commit 5be3ebb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/json/lib/json/add/string.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55

66
class String
77
# call-seq: json_create(o)
8-
#
8+
#
99
# Raw Strings are JSON Objects (the raw bytes are stored in an array for the
1010
# key "raw"). The Ruby String can be created by this class method.
1111
def self.json_create(object)
1212
object["raw"].pack("C*")
1313
end
1414

1515
# call-seq: to_json_raw_object()
16-
#
16+
#
1717
# This method creates a raw object hash, that can be nested into
1818
# other data structures and will be generated as a raw string. This
1919
# method should be used, if you want to convert raw strings to JSON
@@ -26,7 +26,7 @@ def to_json_raw_object
2626
end
2727

2828
# call-seq: to_json_raw(*args)
29-
#
29+
#
3030
# This method creates a JSON text from the result of a call to
3131
# to_json_raw_object of this String.
3232
def to_json_raw(...)

0 commit comments

Comments
 (0)