# File lib/quiz1/t/solutions/Carlos/solitaire.rb, line 96 def generate_keystream len (1..len).collect {|i| next_key or redo } end