# File lib/randexp/dictionary.rb, line 21
  def self.words_by_length
    @@words_by_length ||= words.inject({}) {|h, w| (h[w.size] ||= []) << w; h }
  end