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



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

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