Class: Webmachine::Events::InstrumentedEvent
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Webmachine::Events::InstrumentedEvent
- 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
-
#initialize(*args) ⇒ InstrumentedEvent
constructor
A new instance of InstrumentedEvent.
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 |