Class: TorqueBox::Messaging::ProcessorMiddleware::MWare Private
- Inherits:
-
Object
- Object
- TorqueBox::Messaging::ProcessorMiddleware::MWare
- Defined in:
- lib/torquebox/messaging/processor_middleware/chain.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #klass ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(klass, args) ⇒ MWare
constructor
private
A new instance of MWare.
- #instance ⇒ Object private
Constructor Details
#initialize(klass, args) ⇒ MWare
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MWare.
77 78 79 80 |
# File 'lib/torquebox/messaging/processor_middleware/chain.rb', line 77 def initialize(klass, args) @klass = klass @args = args end |
Instance Attribute Details
#klass ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
75 76 77 |
# File 'lib/torquebox/messaging/processor_middleware/chain.rb', line 75 def klass @klass end |
Instance Method Details
#instance ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
82 83 84 |
# File 'lib/torquebox/messaging/processor_middleware/chain.rb', line 82 def instance @klass.new(*@args) end |