Class: Hutch::Tracers::NullTracer

Inherits:
Object
  • Object
show all
Defined in:
lib/hutch/tracers/null_tracer.rb

Instance Method Summary collapse

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(message)
  @klass.process(message)
end