Module: Hancock::Plugin
- Included in:
- Hancock
- Defined in:
- lib/hancock/plugin.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
21 22 23 24 |
# File 'lib/hancock/plugin.rb', line 21 def self.included(base) Hancock::register_plugin(base) unless base == Hancock base.extend(ClassMethods) end |