Class: Gnomika::ArgParser::GnomikaOptions

Inherits:
Object
  • Object
show all
Defined in:
lib/gnomikologikon/arg_parser.rb

Overview

Contains the application options

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGnomikaOptions

Returns a new instance of GnomikaOptions.



15
16
17
18
19
20
# File 'lib/gnomikologikon/arg_parser.rb', line 15

def initialize
  self.custom_output_dir_set = false
  self.custom_output_dir_value = ""
  self.single_file = false
  self.single_file_name = ""
end

Instance Attribute Details

#custom_output_dir_setObject

Returns the value of attribute custom_output_dir_set.



13
14
15
# File 'lib/gnomikologikon/arg_parser.rb', line 13

def custom_output_dir_set
  @custom_output_dir_set
end

#custom_output_dir_valueObject

Returns the value of attribute custom_output_dir_value.



13
14
15
# File 'lib/gnomikologikon/arg_parser.rb', line 13

def custom_output_dir_value
  @custom_output_dir_value
end

#list_onlyObject

Returns the value of attribute list_only.



13
14
15
# File 'lib/gnomikologikon/arg_parser.rb', line 13

def list_only
  @list_only
end

#single_fileObject

Returns the value of attribute single_file.



13
14
15
# File 'lib/gnomikologikon/arg_parser.rb', line 13

def single_file
  @single_file
end

#single_file_nameObject

Returns the value of attribute single_file_name.



13
14
15
# File 'lib/gnomikologikon/arg_parser.rb', line 13

def single_file_name
  @single_file_name
end