# File lib/bson/types/dbref.rb, line 35
    def to_hash
      {"$ns" => @namespace, "$id" => @object_id }
    end