Module: ProgressHelper
- Defined in:
- app/helpers/progress_helper.rb
Instance Method Summary collapse
Instance Method Details
#book_practice_key_for(student) ⇒ Object
6 7 8 |
# File 'app/helpers/progress_helper.rb', line 6 def book_practice_key_for(student) key_or_default student, :last_exercise, :continue_practicing, :start_practicing end |
#lesson_practice_key_for(stats) ⇒ Object
2 3 4 |
# File 'app/helpers/progress_helper.rb', line 2 def lesson_practice_key_for(stats) key_or_default stats, :started?, :continue_lesson, :start_lesson end |