Fixing a case issue.

This commit is contained in:
Chris Williams 2009-11-03 12:36:42 -05:00
parent 086d5e0357
commit 1430df2fa1

View File

@ -122,7 +122,7 @@ module Mongo
# Copys the database +from+ on +host+ to +to+ on the executing server.
# +host+ is optional and will use localhost host if no value is provided.
def copyDatabase( from, to, host="localhost" )
def copy_database( from, to, host="localhost" )
oh = OrderedHash.new
oh[:copydb]= 1
oh[:fromhost] = host