Module: Nyoibo::Callback
- Defined in:
- lib/nyoibo/callback.rb
Defined Under Namespace
Modules: ClassMethod, Runner
Class Method Summary collapse
Class Method Details
.callbacks ⇒ Object
3 4 5 |
# File 'lib/nyoibo/callback.rb', line 3 def self.callbacks @callbacks ||= {:before => {}, :after => {}} end |
.included(base) ⇒ Object
6 7 8 |
# File 'lib/nyoibo/callback.rb', line 6 def self.included(base) base.extend ClassMethod end |