Class: Mongo::Event::Base
Overview
Base
class for all events.
Instance Method Summary
-
#summary ⇒ String
Returns a concise yet useful summary of the event.
- #short_class_name private
Instance Method Details
#short_class_name (private)
# File 'lib/mongo/event/base.rb', line 40
def short_class_name self.class.name.sub(/^Mongo::Monitoring::Event::/, '') end
#summary ⇒ String
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.
# File 'lib/mongo/event/base.rb', line 34
def summary "#<#{self.class}>" end