Renamed demo to simple

This commit is contained in:
Adrian Madrid 2008-12-04 17:07:49 -07:00
parent 9b5be391ef
commit a91e271323

View File

@ -7,8 +7,7 @@ host = ARGV[0] || 'localhost'
port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT
puts "Connecting to #{host}:#{port}"
db = Mongo.new(host, port).db('ruby-mongo-demo')
db = Mongo.new(host, port).db('ruby-mongo-examples-simple')
coll = db.collection('test')
coll.clear