Module: ActiveModelBehavior

Included in:
RedisOrm::Base
Defined in:
lib/redis_orm/active_model_behavior.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



14
15
16
17
# File 'lib/redis_orm/active_model_behavior.rb', line 14

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