Module: Mongoid::Extensions::Object::Conversions

Included in:
Object
Defined in:
lib/mongoid/extensions/object/conversions.rb

Overview

This module converts objects into mongoid related objects.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

:nodoc:



7
8
9
10
11
12
# File 'lib/mongoid/extensions/object/conversions.rb', line 7

def self.included(base)
  base.class_eval do
    include InstanceMethods
    extend ClassMethods
  end
end