Method: Mongo::Cursor::KillSpec#hash

Defined in:
lib/mongo/cursor/kill_spec.rb

#hashObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



67
68
69
70
71
72
73
74
75
76
# File 'lib/mongo/cursor/kill_spec.rb', line 67

def hash
  [
    cursor_id,
    coll_name,
    db_name,
    connection_global_id,
    server_address,
    session,
  ].compact.hash
end