Rubocop auto correct

This commit is contained in:
kojix2
2021-06-03 11:03:49 +09:00
parent d49a11bb7a
commit 30b3b6e7d3
3 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ module YouPlot
# compare values
r = b[1] <=> a[1]
# If the values are the same, compare by name
r = a[0] <=> b[0] if r == 0
r = a[0] <=> b[0] if r.zero?
r
end