Class: Thesaurus::Entry
- Inherits:
-
Object
- Object
- Thesaurus::Entry
- Defined in:
- lib/thesaurus.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#words ⇒ Object
readonly
Returns the value of attribute words.
Instance Method Summary collapse
-
#initialize(root, words) ⇒ Entry
constructor
A new instance of Entry.
Constructor Details
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
29 30 31 |
# File 'lib/thesaurus.rb', line 29 def root @root end |
#words ⇒ Object (readonly)
Returns the value of attribute words.
29 30 31 |
# File 'lib/thesaurus.rb', line 29 def words @words end |