Class: TChart::CommandLineArgs
- Inherits:
-
Object
- Object
- TChart::CommandLineArgs
- Defined in:
- lib/tchart/model/command_line_args.rb
Overview
Responsible for storing all command line arguments for use throughout the lifecycle of the application.
Instance Attribute Summary collapse
-
#data_filename ⇒ Object
readonly
input file.
-
#tex_filename ⇒ Object
readonly
output file.
Instance Method Summary collapse
-
#initialize(data_filename, tex_filename) ⇒ CommandLineArgs
constructor
A new instance of CommandLineArgs.
Constructor Details
#initialize(data_filename, tex_filename) ⇒ CommandLineArgs
Returns a new instance of CommandLineArgs.
12 13 14 15 |
# File 'lib/tchart/model/command_line_args.rb', line 12 def initialize(data_filename, tex_filename) @data_filename = data_filename @tex_filename = tex_filename end |
Instance Attribute Details
#data_filename ⇒ Object (readonly)
input file
9 10 11 |
# File 'lib/tchart/model/command_line_args.rb', line 9 def data_filename @data_filename end |
#tex_filename ⇒ Object (readonly)
output file
10 11 12 |
# File 'lib/tchart/model/command_line_args.rb', line 10 def tex_filename @tex_filename end |