Module: Spy
- Extended by:
- API
- Defined in:
- lib/spy.rb,
lib/spy/api.rb,
lib/spy/core.rb,
lib/spy/multi.rb,
lib/spy/errors.rb,
lib/spy/version.rb,
lib/spy/instance.rb,
lib/spy/registry.rb,
lib/spy/blueprint.rb,
lib/spy/fake_method.rb,
lib/spy/method_call.rb,
lib/spy/strategy/wrap.rb,
lib/spy/replace_method.rb,
lib/spy/strategy/intercept.rb
Overview
An instance of a spied method
-
Holds a reference to the original method
-
Wraps the original method
-
Provides hooks for callbacks
Defined Under Namespace
Modules: API, Errors, ReplaceMethod, Strategy Classes: Blueprint, Core, FakeMethod, Instance, MethodCall, Multi, Registry
Constant Summary collapse
- VERSION =
'4.0.0'