diff options
author | Hiroshi SHIBATA <[email protected]> | 2023-03-16 13:52:28 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-17 18:50:55 +0900 |
commit | f8fe151ca99233e7d133e2952f9b989c5290c825 () | |
tree | abf775744aa3065bc3686e7c8dab56d0954a113e /lib/rubygems/text.rb | |
parent | 31c572f4fade8d061b151bd70dfca0b79da664e3 (diff) |
util/rubocop -A --only Style/TernaryParentheses
-rw-r--r-- | lib/rubygems/text.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ module Gem::Text str1.each_codepoint.with_index(1) do |char1, i| j = 0 while j < m - cost = (char1 == str2_codepoints[j]) ? 0 : 1 x = min3( d[j + 1] + 1, # insertion i + 1, # deletion |