Class: Iknow::Item::Cue

Inherits:
Object
  • Object
show all
Defined in:
lib/iknow/model/item.rb

Constant Summary collapse

ATTRIBUTES =
[:text, :sound, :part_of_speech, :language]
READONLY_ATTRIBUTES =
[:sound]

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Cue

Returns a new instance of Cue.



26
27
28
29
30
31
# File 'lib/iknow/model/item.rb', line 26

def initialize(params = {})
  @text           = params[:text]
  @sound          = params[:sound]
  @part_of_speech = params[:part_of_speech]
  @language       = params[:language]
end