Module: ActiveSpy::Rails::Spy
- Defined in:
- lib/active_spy/rails/spy.rb
Overview
Module that defines methods used to spy on some class methods.
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
Default snippet to extends the class with Spy::ClassMethods when Spy is included in it.
Class Method Details
.included(base) ⇒ Object
Default snippet to extends the class with Spy::ClassMethods when Spy is included in it.
14 15 16 |
# File 'lib/active_spy/rails/spy.rb', line 14 def self.included(base) base.extend ClassMethods end |