Class: WordleDictionaryBackup
- Inherits:
- 
      ApplicationRecord
      
        - Object
- ActiveRecord::Base
- ApplicationRecord
- WordleDictionaryBackup
 
- Defined in:
- app/models/wordle_dictionary_backup.rb
Overview
This model represents the Backup Dictionary used by Wordle. It is loaded once at the time of creation and never modified. It is used to reset the active Wordledictionary to a default version when requested by a Puzzle Setter
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
| 9 10 11 | # File 'app/models/wordle_dictionary_backup.rb', line 9 def is_valid_solution @is_valid_solution end | 
#word ⇒ String
The 5 letter Word
| 9 10 11 | # File 'app/models/wordle_dictionary_backup.rb', line 9 def word @word end |