Skip to content
Kward Search API index

Class: Kward::PromptHistory::Entry

Inherits:
Struct
  • Object
show all
Defined in:
lib/kward/prompt_history.rb

Instance Attribute Summary collapse

Instance Attribute Details

#timestampObject

Returns the value of attribute timestamp

Returns:

  • (Object)

    the current value of timestamp



12
13
14
# File 'lib/kward/prompt_history.rb', line 12

def timestamp
  @timestamp
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



12
13
14
# File 'lib/kward/prompt_history.rb', line 12

def value
  @value
end