Returns a new instance of Index.
10 11 12 13
# File 'lib/tweep/index.rb', line 10 def initialize @states = {} @states = YAML::load(File.read(FILE_NAME)) if File.exists?(FILE_NAME) end