Class: Desmoservice::TaggedPart
- Inherits:
-
Object
- Object
- Desmoservice::TaggedPart
- Defined in:
- lib/word_distribution.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#word_id ⇒ Object
readonly
Returns the value of attribute word_id.
Instance Method Summary collapse
-
#initialize(word_id, value) ⇒ TaggedPart
constructor
A new instance of TaggedPart.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
63 64 65 |
# File 'lib/word_distribution.rb', line 63 def value @value end |
#word_id ⇒ Object (readonly)
Returns the value of attribute word_id.
63 64 65 |
# File 'lib/word_distribution.rb', line 63 def word_id @word_id end |