mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Rename CmdOptions to Options
This commit is contained in:
parent
fd7b755c79
commit
f0c5e631f7
@ -2,7 +2,7 @@
|
||||
|
||||
module YouPlot
|
||||
class Command
|
||||
CmdOptions = Struct.new(
|
||||
Options = Struct.new(
|
||||
:delimiter,
|
||||
:transpose,
|
||||
:headers,
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user