Class: Object

Inherits:
BasicObject
Defined in:
lib/activefacts/tracer.rb

Overview

Make the trace method globally available:

Instance Method Summary collapse

Instance Method Details

#trace(*args, &block) ⇒ Object



255
256
257
# File 'lib/activefacts/tracer.rb', line 255

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