Class: Startback::Audit::NullTracer

Inherits:
Object
  • Object
show all
Defined in:
lib/startback/audit/null_tracer.rb

Instance Method Summary collapse

Instance Method Details

#attach_to(*args) ⇒ Object



17
18
19
# File 'lib/startback/audit/null_tracer.rb', line 17

def attach_to(*args)
  self
end

#attached?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/startback/audit/null_tracer.rb', line 5

def attached?
  false
end

#fork(*args) ⇒ Object



21
22
23
# File 'lib/startback/audit/null_tracer.rb', line 21

def fork(*args)
  yield
end

#last_span!Object



9
10
11
# File 'lib/startback/audit/null_tracer.rb', line 9

def last_span!
  nil
end

#new_trace(*args) ⇒ Object



13
14
15
# File 'lib/startback/audit/null_tracer.rb', line 13

def new_trace(*args)
  self
end

#on_span(listener = nil, &block) ⇒ Object



25
26
27
# File 'lib/startback/audit/null_tracer.rb', line 25

def on_span(listener = nil, &block)
  self
end