Module: MongoMapper::Acts::Tree

Defined in:
lib/mongo_mapper_acts_as_tree.rb

Defined Under Namespace

Modules: ClassMethods, Fields, InitializerMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



6
7
8
9
10
# File 'lib/mongo_mapper_acts_as_tree.rb', line 6

def self.included(model)
  model.class_eval do 
    extend InitializerMethods
  end
end