Module: Tolerance
- Defined in:
- lib/tolerance.rb,
lib/tolerance/version.rb,
lib/tolerance/hook_methods.rb,
lib/tolerance/fake_exception.rb
Overview
:nodoc:
Defined Under Namespace
Modules: HookMethods Classes: FakeException
Constant Summary collapse
- VERSION =
'0.1.0'
Class Method Summary collapse
Class Method Details
.tracer ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/tolerance.rb', line 9 def self.tracer @tracer ||= TracePoint.new(:end) do |t| next if t.self.singleton_class? || t.self.ancestors.size == 1 t.self.include HookMethods t.self.extend HookMethods end end |