Module: GunDog

Defined in:
lib/gun_dog.rb,
lib/gun_dog/version.rb,
lib/gun_dog/call_record.rb,
lib/gun_dog/trace_maker.rb,
lib/gun_dog/trace_stack.rb,
lib/gun_dog/trace_report.rb,
lib/gun_dog/indexed_array.rb,
lib/gun_dog/method_owner_stack_frame.rb

Defined Under Namespace

Classes: CallRecord, IndexedArray, MethodOwnerStackFrame, TraceMaker, TraceReport, TraceStack

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.trace(klass, &block) ⇒ Object



14
15
16
# File 'lib/gun_dog.rb', line 14

def self.trace(klass, &block)
  TraceMaker.new(klass, &block).exec
end