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