Class: Object

Inherits:
BasicObject
Defined in:
lib/tracing.rb

Overview

Make the trace method globally available:

Instance Method Summary collapse

Instance Method Details

#trace(*args, &block) ⇒ Object



274
275
276
# File 'lib/tracing.rb', line 274

def trace *args, &block
  (Tracing.tracer ||= Tracing::Tracer.new).trace(*args, &block)
end