Class: Desmoservice::TaggedPart

Inherits:
Object
  • Object
show all
Defined in:
lib/word_distribution.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(word_id, value) ⇒ TaggedPart

Returns a new instance of TaggedPart.



65
66
67
68
# File 'lib/word_distribution.rb', line 65

def initialize(word_id, value)
  @word_id = word_id
  @value = value
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



63
64
65
# File 'lib/word_distribution.rb', line 63

def value
  @value
end

#word_idObject (readonly)

Returns the value of attribute word_id.



63
64
65
# File 'lib/word_distribution.rb', line 63

def word_id
  @word_id
end