Module: Mongoid::NestedSerialization

Defined in:
lib/mongoid/nested_serialization.rb,
lib/mongoid/nested_serialization/finder.rb,
lib/mongoid/nested_serialization/version.rb,
lib/mongoid/nested_serialization/serializer.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods Classes: Finder, Serializer

Constant Summary collapse

VERSION =
"0.0.6"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
# File 'lib/mongoid/nested_serialization.rb', line 7

def self.included(base)
  base.extend ClassMethods
  base.send :include, InstanceMethods
end