module ActiveRecall::ItemMethods
Public Instance Methods
right_answer_for!(item)
click to toggle source
# File lib/active_recall/item_methods.rb, line 5 def right_answer_for!(item) deck.items.find_by(source_id: item.id).right! end
wrong_answer_for!(item)
click to toggle source
# File lib/active_recall/item_methods.rb, line 9 def wrong_answer_for!(item) deck.items.find_by(source_id: item.id).wrong! end