Class: WaterDrop::Aspects::BaseAspect
- Inherits:
-
Aspector::Base
- Object
- Aspector::Base
- WaterDrop::Aspects::BaseAspect
show all
- Defined in:
- lib/water_drop/aspects/base_aspect.rb
Overview
Base class for all aspects
Instance Method Summary
collapse
Instance Method Details
#handle(this, options, args, message, *result) ⇒ Object
13
14
15
16
17
18
19
20
21
|
# File 'lib/water_drop/aspects/base_aspect.rb', line 13
def handle(this, options, args, message, *result)
formatter = Formatter.new(
options,
args,
instance_run(this, result, message)
)
Message.new(options[:topic], formatter.message).send!
end
|