mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-07 07:31:12 +08:00
Removed raw_inputs
This commit is contained in:
parent
552756cadf
commit
471f0a907e
@ -8,13 +8,10 @@ module Uplot
|
|||||||
|
|
||||||
class Command
|
class Command
|
||||||
attr_accessor :params
|
attr_accessor :params
|
||||||
attr_reader :raw_inputs, :data, :fmt, :parser
|
attr_reader :data, :fmt, :parser
|
||||||
|
|
||||||
def initialize
|
def initialize
|
||||||
@params = Params.new
|
@params = Params.new
|
||||||
|
|
||||||
@raw_inputs = []
|
|
||||||
|
|
||||||
@parser = Parser.new
|
@parser = Parser.new
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -38,7 +35,6 @@ module Uplot
|
|||||||
# 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
|
|
||||||
@data = Preprocessing.input(input, delimiter, headers, transpose)
|
@data = Preprocessing.input(input, delimiter, headers, transpose)
|
||||||
pp @data if @debug
|
pp @data if @debug
|
||||||
plot = case command
|
plot = case command
|
||||||
|
Loading…
Reference in New Issue
Block a user