Class: HubStep::Internal::Instrumenter::Memory::Event
- Inherits:
-
Object
- Object
- HubStep::Internal::Instrumenter::Memory::Event
- Defined in:
- lib/hubstep/internal/instrumenter/memory.rb
Overview
rubocop:disable Style/Documentation
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#payload ⇒ Object
readonly
Returns the value of attribute payload.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(name, payload, result) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(name, payload, result) ⇒ Event
Returns a new instance of Event.
13 14 15 16 17 |
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 13 def initialize(name, payload, result) @name = name @payload = payload @result = result end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
11 12 13 |
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11 def name @name end |
#payload ⇒ Object (readonly)
Returns the value of attribute payload.
11 12 13 |
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11 def payload @payload end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
11 12 13 |
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11 def result @result end |