Class: OxfordLearnersDictionaries::WordOfTheDay
- Inherits:
-
Object
- Object
- OxfordLearnersDictionaries::WordOfTheDay
- Defined in:
- lib/oxford_learners_dictionaries/word_of_the_day.rb
Constant Summary collapse
- URL =
"http://www.oxfordlearnersdictionaries.com"
Instance Attribute Summary collapse
-
#english ⇒ Object
readonly
Returns the value of attribute english.
-
#short_definition ⇒ Object
readonly
Returns the value of attribute short_definition.
-
#word ⇒ Object
readonly
Returns the value of attribute word.
Instance Method Summary collapse
-
#initialize ⇒ WordOfTheDay
constructor
A new instance of WordOfTheDay.
- #look_up ⇒ Object
Constructor Details
#initialize ⇒ WordOfTheDay
Returns a new instance of WordOfTheDay.
10 11 12 |
# File 'lib/oxford_learners_dictionaries/word_of_the_day.rb', line 10 def initialize parse end |
Instance Attribute Details
#english ⇒ Object (readonly)
Returns the value of attribute english.
6 7 8 |
# File 'lib/oxford_learners_dictionaries/word_of_the_day.rb', line 6 def english @english end |
#short_definition ⇒ Object (readonly)
Returns the value of attribute short_definition.
6 7 8 |
# File 'lib/oxford_learners_dictionaries/word_of_the_day.rb', line 6 def short_definition @short_definition end |
#word ⇒ Object (readonly)
Returns the value of attribute word.
6 7 8 |
# File 'lib/oxford_learners_dictionaries/word_of_the_day.rb', line 6 def word @word end |