Fix variables again

This commit is contained in:
kojix2
2020-09-17 10:38:59 +09:00
parent b6c3ca9b43
commit 3baada320e
2 changed files with 14 additions and 11 deletions

View File

@@ -1,7 +1,8 @@
module Uplot
class Command
class Parser
attr_reader :command, :params, :main_parser, :sub_parsers, :delimiter, :transpose, :headers
attr_reader :command, :params, :main_parser, :sub_parsers,
:delimiter, :transpose, :headers, :output, :count, :fmt, :debug
def initialize
@sub_parsers = create_sub_parsers
@@ -12,6 +13,10 @@ module Uplot
@delimiter = "\t"
@transpose = false
@headers = nil
@output = false
@count = false
@fmt = 'xyy'
@debug = false
end
def create_default_parser