# File lib/moneta/mongodb.rb, line 12
    def initialize(options = {})
      options = {
        :host => ENV['MONGO_RUBY_DRIVER_HOST'] || 'localhost',
        :port => ENV['MONGO_RUBY_DRIVER_PORT'] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT,
        :db => 'cache',
        :collection => 'cache'
      }.update(options)
      conn = XGen::Mongo::Driver::Mongo.new(options[:host], options[:port])
      @cache = conn.db(options[:db]).collection(options[:collection])
    end