Method: Masks::Check#clear!
- Defined in:
- app/models/masks/check.rb
#clear!(id) ⇒ Datetime
Clears all data for attempts by the given id.
163 164 165 166 |
# File 'app/models/masks/check.rb', line 163 def clear!(id) @attempts&.except!(id) attempted.except!(id) end |