Module: Spy
- Extended by:
- API
- Defined in:
- lib/spy.rb,
lib/spy/api.rb,
lib/spy/core.rb,
lib/spy/errors.rb,
lib/spy/version.rb,
lib/spy/instance.rb,
lib/spy/registry.rb,
lib/spy/method_call.rb,
lib/spy/registry_entry.rb,
lib/spy/registry_store.rb,
lib/spy/instance/strategy.rb,
lib/spy/instance/api/internal.rb,
lib/spy/instance/strategy/wrap.rb,
lib/spy/instance/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 Classes: Core, Instance, MethodCall, Registry, RegistryEntry, RegistryStore
Constant Summary collapse
- VERSION =
'2.0.0'