Class: WordleDictionary
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- WordleDictionary
- Defined in:
- app/models/wordle_dictionary.rb
Overview
This model represents the Dictionary used by Wordle. It contains a list of all valid 5 letter guesses and all valid 5 letter solutions
Instance Attribute Summary collapse
-
#is_valid_solution ⇒ Boolean
Specifies whether the word is a valid solution or not.
-
#word ⇒ String
The 5 letter Word.
Instance Attribute Details
#is_valid_solution ⇒ Boolean
Specifies whether the word is a valid solution or not
8 9 10 |
# File 'app/models/wordle_dictionary.rb', line 8 def is_valid_solution @is_valid_solution end |
#word ⇒ String
The 5 letter Word
8 9 10 |
# File 'app/models/wordle_dictionary.rb', line 8 def word @word end |