module ActiveSpy::Rails::Spy
Module that defines methods used to spy on some class methods.
Public Class Methods
included(base)
click to toggle source
Default snippet to extends the class with {ActiveSpy::Spy::ClassMethods} when {ActiveSpy::Spy} is included in it.
# File lib/active_spy/rails/spy.rb, line 14 def self.included(base) base.extend ClassMethods end