Class: Hyperdrive::Instrumenters::Memory
- Inherits:
-
Object
- Object
- Hyperdrive::Instrumenters::Memory
- Defined in:
- lib/hyperdrive/instrumenters/memory.rb
Defined Under Namespace
Classes: Event
Instance Attribute Summary collapse
-
#events ⇒ Object
readonly
Returns the value of attribute events.
Instance Method Summary collapse
-
#initialize ⇒ Memory
constructor
A new instance of Memory.
- #instrument(name, payload = {}) ⇒ Object
Constructor Details
#initialize ⇒ Memory
Returns a new instance of Memory.
10 11 12 |
# File 'lib/hyperdrive/instrumenters/memory.rb', line 10 def initialize @events = [] end |
Instance Attribute Details
#events ⇒ Object (readonly)
Returns the value of attribute events.
8 9 10 |
# File 'lib/hyperdrive/instrumenters/memory.rb', line 8 def events @events end |