Method: ActiveRecall::SoftLeitnerSystem#right
- Defined in:
- lib/active_recall/algorithms/soft_leitner_system.rb
#right ⇒ Object
38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/active_recall/algorithms/soft_leitner_system.rb', line 38 def right self.box = [box + 1, DELAYS.count].min { box: box, times_right: times_right + 1, times_wrong: times_wrong, last_reviewed: current_time, next_review: next_review } end |