Class: ActiveRecall::FSRS::Internal::SchedulingInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/active_recall/algorithms/fsrs/internal.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(card, review_log) ⇒ SchedulingInfo

Returns a new instance of SchedulingInfo.



31
32
33
34
# File 'lib/active_recall/algorithms/fsrs/internal.rb', line 31

def initialize(card, review_log)
  @card = card
  @review_log = review_log
end

Instance Attribute Details

#cardObject

Returns the value of attribute card.



29
30
31
# File 'lib/active_recall/algorithms/fsrs/internal.rb', line 29

def card
  @card
end

#review_logObject

Returns the value of attribute review_log.



29
30
31
# File 'lib/active_recall/algorithms/fsrs/internal.rb', line 29

def review_log
  @review_log
end