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