# File lib/quiz1/t/solutions/Bill Guindon/solitaire.rb, line 149 def word_count(text, len) words, strays = text.length.divmod(len) words += 1 if strays > 0 pad = "X" * (len - strays) return [words, pad] end