Class: Mongo::Event::Base

Inherits:
Object
  • Object
show all
Defined in:
build/ruby-driver-v2.19/lib/mongo/event/base.rb

Overview

Base class for all events.

Since:

  • 2.6.0

Instance Method Summary collapse

Instance Method Details

#summaryString

Note:

This method is experimental and subject to change.

Returns a concise yet useful summary of the event. Meant to be overridden in derived classes.

Returns:

  • (String)

    String summary of the event.

Since:

  • 2.7.0



34
35
36
# File 'build/ruby-driver-v2.19/lib/mongo/event/base.rb', line 34

def summary
  "#<#{self.class}>"
end