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/base.rb,
lib/spy/strategy/wrap.rb,
lib/spy/strategy/intercept.rb,
lib/spy/determine_visibility.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, DetermineVisibility, Errors, Strategy Classes: Blueprint, Core, FakeMethod, Instance, MethodCall, Multi, Registry
Constant Summary collapse
- VERSION =
'3.1.0'