minor: removed unused core doc

This commit is contained in:
Kyle Banker 2010-02-01 20:27:31 -05:00
parent 4080e45d7f
commit c9cecc730e
1 changed files with 0 additions and 2 deletions

View File

@ -200,8 +200,6 @@ module Mongo
# If true, check that the save succeeded. OperationFailure
# will be raised on an error. Note that a safe check requires an extra
# round-trip to the database.
#
# @see Official, <a href="http://dochub.mongodb.org/save" name="save-instance_method" rel="find">Official Docs</a>
def save(doc, options={})
if doc.has_key?(:_id) || doc.has_key?('_id')
id = doc[:_id] || doc['_id']