Class: ConcurrentPipeline::Processors::ActorProcessor::Message
- Inherits:
-
Struct
- Object
- Struct
- ConcurrentPipeline::Processors::ActorProcessor::Message
- Defined in:
- lib/concurrent_pipeline/processors/actor_processor.rb
Instance Attribute Summary collapse
-
#payload ⇒ Object
Returns the value of attribute payload.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#payload ⇒ Object
Returns the value of attribute payload
11 12 13 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 11 def payload @payload end |
#type ⇒ Object
Returns the value of attribute type
11 12 13 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 11 def type @type end |
Instance Method Details
#inspect ⇒ Object
15 16 17 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 15 def inspect(...) "<Message #{type} (#{payload.class}) >" end |
#to_s ⇒ Object
12 13 14 |
# File 'lib/concurrent_pipeline/processors/actor_processor.rb', line 12 def to_s(...) inspect(...) end |