Class: OpenDictionary::Word
- Inherits:
-
Object
- Object
- OpenDictionary::Word
- Defined in:
- lib/open_dictionary/word.rb
Instance Attribute Summary collapse
-
#etymologies ⇒ Object
readonly
Returns the value of attribute etymologies.
-
#word ⇒ Object
readonly
Returns the value of attribute word.
Instance Method Summary collapse
-
#initialize(data) ⇒ Word
constructor
A new instance of Word.
Constructor Details
Instance Attribute Details
#etymologies ⇒ Object (readonly)
Returns the value of attribute etymologies.
3 4 5 |
# File 'lib/open_dictionary/word.rb', line 3 def etymologies @etymologies end |
#word ⇒ Object (readonly)
Returns the value of attribute word.
3 4 5 |
# File 'lib/open_dictionary/word.rb', line 3 def word @word end |