Class: Caffeinate::MessageHandler
- Inherits:
-
Delegator
- Object
- Delegator
- Caffeinate::MessageHandler
- Defined in:
- lib/caffeinate/message_handler.rb
Overview
Delegates methods to a Caffeinate::Action class
Instance Method Summary collapse
- #__getobj__ ⇒ Object
-
#initialize(action_class, action, message) ⇒ MessageHandler
constructor
:nodoc:.
Constructor Details
#initialize(action_class, action, message) ⇒ MessageHandler
:nodoc:
4 5 6 |
# File 'lib/caffeinate/message_handler.rb', line 4 def initialize(action_class, action, ) # :nodoc: @action_class, @action, @message = action_class, action, end |
Instance Method Details
#__getobj__ ⇒ Object
8 9 10 |
# File 'lib/caffeinate/message_handler.rb', line 8 def __getobj__ processed_action end |