lib/language_cards/modes/game.rb in language_cards-0.2.0 vs lib/language_cards/modes/game.rb in language_cards-0.3.0
- old
+ new
@@ -13,9 +13,10 @@
end
# @return Grapheme Returns a random grapheme
def sample
@current = @card_set.sample
+ self
end
# Iterator for cycling through all translations sequentially.
# @return Grapheme Returns a random grapheme
def next