Rename CmdOptions to Options

This commit is contained in:
kojix2 2020-12-21 14:39:22 +09:00
parent fd7b755c79
commit f0c5e631f7
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
module YouPlot module YouPlot
class Command class Command
CmdOptions = Struct.new( Options = Struct.new(
:delimiter, :delimiter,
:transpose, :transpose,
:headers, :headers,

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
require 'optparse' require 'optparse'
require_relative 'cmd_options' require_relative 'options'
require_relative 'plot_params' require_relative 'plot_params'
module YouPlot module YouPlot
@ -12,7 +12,7 @@ module YouPlot
def initialize def initialize
@command = nil @command = nil
@options = CmdOptions.new( @options = Options.new(
delimiter: "\t", delimiter: "\t",
transpose: false, transpose: false,
headers: nil, headers: nil,