# File lib/lookup.rb, line 11
    def update!
      puts "Updating API, this may take a minute or two. Please be patient!"
      [Constant, Entry, Api].map { |klass| klass.delete_all }
      
      update_api!("Rails", "http://api.rubyonrails.org")
      update_api!("Ruby 1.8.7", "http://www.ruby-doc.org/core")
      update_api!("Ruby 1.9", "http://ruby-doc.org/ruby-1.9")
      
    end