Module: Mongoid::Grid
- Defined in:
- lib/mongoid/grid.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/mongoid/grid.rb', line 7 def self.included(base) base.send(:extend, ClassMethods) base.send(:include, InstanceMethods) base.class_inheritable_accessor :attachment_types base. = [] end |