Module: RandomPerson::Loader
- Included in:
- Demographic
- Defined in:
- lib/randomperson/loader.rb
Overview
This module is here to do the loading of data into a demographic class It relies on there being a self.available_classes method wrapped around a Set
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(receiver) ⇒ Object
private
Classic hooking.
Class Method Details
.included(receiver) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Classic hooking
67 68 69 70 |
# File 'lib/randomperson/loader.rb', line 67 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end |