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]
NOT_WRITABLE_ATTRIBUTES =
[:text]

Instance Method Summary collapse

Constructor Details

#initialize(params = {}) ⇒ Cue

Returns a new instance of Cue.



22
23
24
25
26
27
# File 'lib/iknow/model/item.rb', line 22

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