Class: Retreval::Options

Inherits:
Object
  • Object
show all
Defined in:
lib/retreval/options.rb

Overview

Some options that can be passed when the script is run from the commandline

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(args) ⇒ Options

Just initialize the OptionParser and try to parse the arguments



12
13
14
# File 'lib/retreval/options.rb', line 12

def initialize(args)
  parse(args)
end

Instance Attribute Details

#formatObject

Returns the value of attribute format



9
10
11
# File 'lib/retreval/options.rb', line 9

def format
  @format
end

#gold_standard_fileObject

Returns the value of attribute gold_standard_file



9
10
11
# File 'lib/retreval/options.rb', line 9

def gold_standard_file
  @gold_standard_file
end

#interactiveObject

Returns the value of attribute interactive



9
10
11
# File 'lib/retreval/options.rb', line 9

def interactive
  @interactive
end

#outputObject

Returns the value of attribute output



9
10
11
# File 'lib/retreval/options.rb', line 9

def output
  @output
end

#query_result_set_fileObject

Returns the value of attribute query_result_set_file



9
10
11
# File 'lib/retreval/options.rb', line 9

def query_result_set_file
  @query_result_set_file
end