Module: ExtJS::Model

Defined in:
lib/active_record/model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(model) ⇒ Object



3
4
5
6
# File 'lib/active_record/model.rb', line 3

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