summaryrefslogtreecommitdiff
path: root/lib/rubygems/errors.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-04-07 09:15:17 +0900
committergit <[email protected]>2023-04-07 05:13:05 +0000
commit250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 ()
treeb9018bb2916c2e007b7f57981295e4c4f0fd5adc /lib/rubygems/errors.rb
parent84ce6fc87347c15cc81939de2d1872984711a4ed (diff)
[rubygems/rubygems] util/rubocop -A --only Style/FormatString
https://.com/rubygems/rubygems/commit/132a56569d
-rw-r--r--lib/rubygems/errors.rb6
1 files changed, 1 insertions, 5 deletions
@@ -134,11 +134,7 @@ module Gem
##
# A wordy description of the error.
def wordy
- "Found %s (%s), but was for platform%s %s" %
- [@name,
- @version,
- @platforms.size == 1 ? "" : "s",
- @platforms.join(" ,")]
end
end