Class: TChart::CommandLineArgs

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_filenameObject (readonly)

input file



9
10
11
# File 'lib/tchart/model/command_line_args.rb', line 9

def data_filename
  @data_filename
end

#tex_filenameObject (readonly)

output file



10
11
12
# File 'lib/tchart/model/command_line_args.rb', line 10

def tex_filename
  @tex_filename
end