mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-09-17 17:24:08 +08:00
Set the Gem Ruby version to 2.6 or higher
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user