Module: Ckeditor::Orm::Mongoid::AssetBase

Included in:
Asset
Defined in:
lib/ckeditor/orm/mongoid.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/ckeditor/orm/mongoid.rb', line 8

def self.included(base)
  base.send(:include, ::Mongoid::Document)
  base.send(:include, ::Mongoid::Timestamps)
  base.send(:include, Base::AssetBase::InstanceMethods)
  base.send(:include, InstanceMethods)
  base.send(:extend, ClassMethods)
end