summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-08-07 16:30:48 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-08-18 12:31:51 +0900
commit5be3ebb0fdc67d0340c84af7f1086333f23b4240 (patch)
tree086af9e12a9db0eac42f2a2ae5e5b4ed46274c1c
parentf0ee7630ed8993ef80cd11b12330c78616819ff0 (diff)
[ruby/json] Remove trailing spaces [ci skip]
https://github.com/ruby/json/commit/2d2e0d403d
-rw-r--r--ext/json/lib/json/add/string.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/lib/json/add/string.rb b/ext/json/lib/json/add/string.rb
index 46f07967cd..64b1c217f8 100644
--- a/ext/json/lib/json/add/string.rb
+++ b/ext/json/lib/json/add/string.rb
@@ -5,7 +5,7 @@ end
class String
# call-seq: json_create(o)
- #
+ #
# Raw Strings are JSON Objects (the raw bytes are stored in an array for the
# key "raw"). The Ruby String can be created by this class method.
def self.json_create(object)
@@ -13,7 +13,7 @@ class String
end
# call-seq: to_json_raw_object()
- #
+ #
# This method creates a raw object hash, that can be nested into
# other data structures and will be generated as a raw string. This
# method should be used, if you want to convert raw strings to JSON
@@ -26,7 +26,7 @@ class String
end
# call-seq: to_json_raw(*args)
- #
+ #
# This method creates a JSON text from the result of a call to
# to_json_raw_object of this String.
def to_json_raw(...)