mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-12-16 03:08:54 +08:00
Make tests pass in Ruby 2.4
This commit is contained in:
@@ -14,7 +14,7 @@ module YouPlot
|
||||
|
||||
# Remove blank lines
|
||||
arr.delete_if do |i|
|
||||
i == [] or i.all? nil
|
||||
i == [] or i.all?(&:nil?)
|
||||
end
|
||||
|
||||
# get header
|
||||
|
||||
Reference in New Issue
Block a user