Class: RobotLab::Robot::HistorySearch::HistoryResult

Inherits:
Data
  • Object
show all
Defined in:
lib/robot_lab/robot/history_search.rb

Overview

Value object returned by #search_history.

Instance Attribute Summary collapse

Instance Attribute Details

#indexObject (readonly)

Returns the value of attribute index

Returns:

  • (Object)

    the current value of index



23
24
25
# File 'lib/robot_lab/robot/history_search.rb', line 23

def index
  @index
end

#roleObject (readonly)

Returns the value of attribute role

Returns:

  • (Object)

    the current value of role



23
24
25
# File 'lib/robot_lab/robot/history_search.rb', line 23

def role
  @role
end

#scoreObject (readonly)

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



23
24
25
# File 'lib/robot_lab/robot/history_search.rb', line 23

def score
  @score
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



23
24
25
# File 'lib/robot_lab/robot/history_search.rb', line 23

def text
  @text
end