Module: Roject::LoadSaveable

Included in:
Project
Defined in:
lib/loadsaveable.rb

Overview

Created: 7 - 10 - 2016

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object

The implementing reciever will extend ClassMethods and include InstanceMethods

Parameter: reciever - the object being included



89
90
91
92
# File 'lib/loadsaveable.rb', line 89

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