Module: ActiveRecordPolytypeInterceptors

Defined in:
lib/activerecord-polytypes.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.prepended(mod) ⇒ Object



406
407
408
# File 'lib/activerecord-polytypes.rb', line 406

def self.prepended(mod)
  mod.singleton_class.prepend(ClassMethods)
end