Class: Parse::Retrieval::Benchmark::Case

Inherits:
Struct
  • Object
show all
Defined in:
lib/parse/retrieval/benchmark.rb

Overview

One labeled query. relevant and forbidden are object ids.

Instance Attribute Summary collapse

Instance Attribute Details

#forbidden ⇒ Object

Returns the value of attribute forbidden

Returns:

  • (Object) —

    the current value of forbidden



29
30
31
# File 'lib/parse/retrieval/benchmark.rb', line 29

def forbidden
  @forbidden
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



29
30
31
# File 'lib/parse/retrieval/benchmark.rb', line 29

def id
  @id
end

#query ⇒ Object

Returns the value of attribute query

Returns:

  • (Object) —

    the current value of query



29
30
31
# File 'lib/parse/retrieval/benchmark.rb', line 29

def query
  @query
end

#relevant ⇒ Object

Returns the value of attribute relevant

Returns:

  • (Object) —

    the current value of relevant



29
30
31
# File 'lib/parse/retrieval/benchmark.rb', line 29

def relevant
  @relevant
end

#tags ⇒ Object

Returns the value of attribute tags

Returns:

  • (Object) —

    the current value of tags



29
30
31
# File 'lib/parse/retrieval/benchmark.rb', line 29

def tags
  @tags
end