From f0c5e631f72f9ce546c7fe2186ed321c5fdd82b1 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Mon, 21 Dec 2020 14:39:22 +0900 Subject: [PATCH] Rename CmdOptions to Options --- lib/youplot/command/{cmd_options.rb => options.rb} | 2 +- lib/youplot/command/parser.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename lib/youplot/command/{cmd_options.rb => options.rb} (89%) 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,