Class: Hutch::Tracers::NullTracer
- Inherits:
-
Object
- Object
- Hutch::Tracers::NullTracer
- Defined in:
- lib/hutch/tracers/null_tracer.rb
Instance Method Summary collapse
- #handle(message) ⇒ Object
-
#initialize(klass) ⇒ NullTracer
constructor
A new instance of NullTracer.
Constructor Details
#initialize(klass) ⇒ NullTracer
Returns a new instance of NullTracer.
5 6 7 |
# File 'lib/hutch/tracers/null_tracer.rb', line 5 def initialize(klass) @klass = klass end |
Instance Method Details
#handle(message) ⇒ Object
9 10 11 |
# File 'lib/hutch/tracers/null_tracer.rb', line 9 def handle() @klass.process() end |