Class: HubStep::Internal::Instrumenter::Memory::Event

Inherits:
Object
  • Object
show all
Defined in:
lib/hubstep/internal/instrumenter/memory.rb

Overview

rubocop:disable Style/Documentation

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject (readonly)

Returns the value of attribute name.



11
12
13
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11

def name
  @name
end

#payloadObject (readonly)

Returns the value of attribute payload.



11
12
13
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11

def payload
  @payload
end

#resultObject (readonly)

Returns the value of attribute result.



11
12
13
# File 'lib/hubstep/internal/instrumenter/memory.rb', line 11

def result
  @result
end