diff --git a/lib/youplot/command/cmd_options.rb b/lib/youplot/command/options.rb similarity index 89% rename from lib/youplot/command/cmd_options.rb rename to lib/youplot/command/options.rb index ff4dbbe..12ed749 100644 --- a/lib/youplot/command/cmd_options.rb +++ b/lib/youplot/command/options.rb @@ -2,7 +2,7 @@ module YouPlot class Command - CmdOptions = Struct.new( + Options = Struct.new( :delimiter, :transpose, :headers, diff --git a/lib/youplot/command/parser.rb b/lib/youplot/command/parser.rb index e80b1fe..fbadae6 100644 --- a/lib/youplot/command/parser.rb +++ b/lib/youplot/command/parser.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require 'optparse' -require_relative 'cmd_options' +require_relative 'options' require_relative 'plot_params' module YouPlot @@ -12,7 +12,7 @@ module YouPlot def initialize @command = nil - @options = CmdOptions.new( + @options = Options.new( delimiter: "\t", transpose: false, headers: nil,