Rubocop auto correct

This commit is contained in:
kojix2 2021-01-19 19:26:41 +09:00
parent a8ce96888e
commit b8e7f5af88
2 changed files with 4 additions and 6 deletions

View File

@ -67,12 +67,10 @@ module YouPlot
else else
Array.new(arr[0].size, []) Array.new(arr[0].size, [])
end end
elsif transpose
arr
else else
if transpose transpose2(arr)
arr
else
transpose2(arr)
end
end end
end end
end end

View File

@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
spec.files = Dir['*.{md,txt}', '{lib,exe}/**/*'] spec.files = Dir['*.{md,txt}', '{lib,exe}/**/*']
spec.bindir = 'exe' spec.bindir = 'exe'
spec.executables = ['uplot', 'youplot'] spec.executables = %w[uplot youplot]
spec.require_paths = ['lib'] spec.require_paths = ['lib']
spec.add_runtime_dependency 'unicode_plot' spec.add_runtime_dependency 'unicode_plot'