Module: Spy
- Extended by:
- API
- Defined in:
- lib/spy/instance.rb,
lib/spy.rb,
lib/spy/api.rb,
lib/spy/core.rb,
lib/spy/errors.rb,
lib/spy/version.rb,
lib/spy/collection.rb,
lib/spy/callbacks/when.rb,
lib/spy/collection/entry.rb,
lib/spy/instance/strategy.rb,
lib/spy/callbacks/with_args.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, Callbacks, Errors Classes: Collection, Core, Instance
Constant Summary collapse
- VERSION =
'0.2.1'