Class: ActiveRecall::FSRS::Internal::SchedulingInfo
- Inherits:
-
Object
- Object
- ActiveRecall::FSRS::Internal::SchedulingInfo
- Defined in:
- lib/active_recall/algorithms/fsrs/internal.rb
Instance Attribute Summary collapse
-
#card ⇒ Object
Returns the value of attribute card.
-
#review_log ⇒ Object
Returns the value of attribute review_log.
Instance Method Summary collapse
-
#initialize(card, review_log) ⇒ SchedulingInfo
constructor
A new instance of SchedulingInfo.
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
#card ⇒ Object
Returns the value of attribute card.
29 30 31 |
# File 'lib/active_recall/algorithms/fsrs/internal.rb', line 29 def card @card end |
#review_log ⇒ Object
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 |