Module: Callbacks
- Defined in:
- lib/callbacks.rb,
lib/classmethods.rb,
lib/callbackchain.rb,
lib/instancemethods.rb
Overview
Just a test!
Defined Under Namespace
Modules: ClassMethods, InstanceMethods Classes: CallbackChain
Class Method Summary collapse
-
.included(base) ⇒ Object
Sets all things right.
Class Method Details
.included(base) ⇒ Object
Sets all things right
11 12 13 14 15 |
# File 'lib/callbacks.rb', line 11 def self.included(base) #:nodoc: base.extend Observable #why? base.extend Callbacks::ClassMethods base.send(:include, Callbacks::InstanceMethods) end |