Module: Outputter
- Included in:
- RandomPerson::Name
- Defined in:
- lib/randomperson/outputter.rb
Overview
uses the @on_execute block of the including class
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
-
.included(receiver) ⇒ Object
private
Classic hooking in.
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 in.
80 81 82 83 |
# File 'lib/randomperson/outputter.rb', line 80 def self.included(receiver) receiver.extend ClassMethods receiver.send :include, InstanceMethods end |