Module: Entangled::Model

Defined in:
lib/entangled/model.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



151
152
153
154
# File 'lib/entangled/model.rb', line 151

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