Module: DatabaseCleaner::Generic::Base

Included in:
ActiveRecord::Base, DataMapper::Base, MongoMapper::Base, Mongoid::Base
Defined in:
lib/database_cleaner/generic/base.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
# File 'lib/database_cleaner/generic/base.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
  base.send(:include, InstanceMethods)
end