lib/sixword/words.rb in sixword-0.3.1 vs lib/sixword/words.rb in sixword-0.3.2

- old
+ new

@@ -262,8 +262,9 @@ # mutability sucks WORDS.freeze WORDS.each(&:freeze) + # A mapping from Word => Integer index in the word list WORDS_HASH = Hash[WORDS.each_with_index.to_a] WORDS_HASH.freeze end