mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Fix debug option
This commit is contained in:
parent
4544c0e456
commit
de3a366d15
@ -28,7 +28,7 @@ module Uplot
|
|||||||
pass = parser.pass
|
pass = parser.pass
|
||||||
output = parser.output
|
output = parser.output
|
||||||
fmt = parser.fmt
|
fmt = parser.fmt
|
||||||
debug = parser.debug
|
@debug = parser.debug
|
||||||
|
|
||||||
if command == :colors
|
if command == :colors
|
||||||
Plot.colors
|
Plot.colors
|
||||||
@ -36,7 +36,7 @@ module Uplot
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Sometimes the input file does not end with a newline code.
|
# Sometimes the input file does not end with a newline code.
|
||||||
while input = Kernel.gets(nil)
|
while (input = Kernel.gets(nil))
|
||||||
input.freeze
|
input.freeze
|
||||||
@raw_inputs << input
|
@raw_inputs << input
|
||||||
@data = Preprocessing.input(input, delimiter, headers, transpose)
|
@data = Preprocessing.input(input, delimiter, headers, transpose)
|
||||||
|
Loading…
Reference in New Issue
Block a user