Class: Webmachine::Events::InstrumentedEvent

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/webmachine/events/instrumented_event.rb

Overview

InstrumentedEvent delegates to [AS::Notifications::Event](rubydoc.info/gems/as-notifications/AS/Notifications/Event).

The class [AS::Notifications::Event](rubydoc.info/gems/as-notifications/AS/Notifications/Event) is able to take the arguments of an instrument event and provide an object-oriented interface to that data.

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ InstrumentedEvent

Returns a new instance of InstrumentedEvent


14
15
16
# File 'lib/webmachine/events/instrumented_event.rb', line 14

def initialize(*args)
  super(AS::Notifications::Event.new(*args))
end