# File lib/attributes.rb, line 13 def index! @index ||= Hash.new each{|element| @index[element] = true} end