From f3cd03196ddbb0013a1a1858646dc15fa2a3ad32 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Sun, 16 Aug 2020 13:43:37 +0900 Subject: [PATCH] Rubocop auto correct --- lib/uplot/plot.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/uplot/plot.rb b/lib/uplot/plot.rb index 7743f63..2bab8f2 100644 --- a/lib/uplot/plot.rb +++ b/lib/uplot/plot.rb @@ -126,16 +126,16 @@ module Uplot def check_series_size(data, fmt) series = data.series if series.size == 1 - warn "uplot: There is only one series of input data. Please check the delimiter." - warn "" + warn 'uplot: There is only one series of input data. Please check the delimiter.' + warn '' warn " Headers: \e[35m#{data.headers.inspect}\e[0m" warn " The first item is: \e[35m\"#{series[0][0]}\"\e[0m" warn " The last item is : \e[35m\"#{series[0][-1]}\"\e[0m" exit 1 end if fmt == 'xyxy' && series.size.odd? - warn "uplot: In the xyxy format, the number of series must be even." - warn "" + warn 'uplot: In the xyxy format, the number of series must be even.' + warn '' warn " Number of series: \e[35m#{series.size}\e[0m" warn " Headers: \e[35m#{data.headers.inspect}\e[0m" exit 1