Module: Neoon::Node

Defined in:
lib/neoon/node.rb

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object



10
11
12
13
14
15
# File 'lib/neoon/node.rb', line 10

def self.included(receiver)
  receiver.send :include, Model::Service
  receiver.extend         ClassMethods
  receiver.send :include, InstanceMethods
  Neoon.config.models << receiver
end