Class: Bee
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Bee
- Defined in:
- app/models/bee.rb
Overview
This model holds letters for each spelling bee game.
Instance Attribute Summary collapse
-
#letters ⇒ String
The letters of the game.
-
#play_date ⇒ Date
The date of the game.
-
#ranks ⇒ Array<Integer>
The rank ranges for the game.
Instance Attribute Details
#letters ⇒ String
The letters of the game. (eg. “ABCDEFG”)
9 10 11 |
# File 'app/models/bee.rb', line 9 def letters @letters end |
#play_date ⇒ Date
The date of the game. (eg. ‘2024-11-08’)
9 10 11 |
# File 'app/models/bee.rb', line 9 def play_date @play_date end |
#ranks ⇒ Array<Integer>
The rank ranges for the game. (eg. [5, 10, 20, 40])
9 10 11 |
# File 'app/models/bee.rb', line 9 def ranks @ranks end |