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

- (Options) initialize(args)

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

- (Object) format

Returns the value of attribute format



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

def format
  @format
end

- (Object) gold_standard_file

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

- (Object) interactive

Returns the value of attribute interactive



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

def interactive
  @interactive
end

- (Object) output

Returns the value of attribute output



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

def output
  @output
end

- (Object) query_result_set_file

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