Fix debug option

This commit is contained in:
kojix2 2020-10-10 23:16:15 +09:00
parent 4544c0e456
commit de3a366d15

View File

@ -28,7 +28,7 @@ module Uplot
pass = parser.pass
output = parser.output
fmt = parser.fmt
debug = parser.debug
@debug = parser.debug
if command == :colors
Plot.colors
@ -36,7 +36,7 @@ module Uplot
end
# Sometimes the input file does not end with a newline code.
while input = Kernel.gets(nil)
while (input = Kernel.gets(nil))
input.freeze
@raw_inputs << input
@data = Preprocessing.input(input, delimiter, headers, transpose)