Method: Mongo::WriteConcern::Unacknowledged#inspect

Defined in:
lib/mongo/write_concern/unacknowledged.rb

#inspectString

Get a human-readable string representation of an unacknowledged write concern.

Examples:

Inspect the write concern.

write_concern.inspect

Returns:

  • (String)

    A string representation of an unacknowledged write concern.

Since:

  • 2.0.0



63
64
65
# File 'lib/mongo/write_concern/unacknowledged.rb', line 63

def inspect
  "#<Mongo::WriteConcern::Unacknowledged:0x#{object_id} options=#{options}>"
end