Class: Mongo::Event::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/mongo/event/base.rb

Overview

Base class for all events.

Since:

  • 2.6.0

Instance Method Summary collapse

Instance Method Details

#inspectString

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.6.0



28
29
30
# File 'lib/mongo/event/base.rb', line 28

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