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
-
.included(receiver) ⇒ Object
The implementing reciever will extend ClassMethods and include InstanceMethods.
Class Method Details
.included(receiver) ⇒ Object
The implementing reciever will extend ClassMethods and include InstanceMethods
Parameter: reciever - the object being included
90 91 92 93 |
# File 'lib/loadsaveable.rb', line 90 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end |