Module: HaveAPI::Hookable
Overview
Classes that define hooks must include this module.
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
256 257 258 259 |
# File 'lib/haveapi/hooks.rb', line 256 def self.included(base) base.send(:extend, ClassMethods) base.send(:include, InstanceMethods) end |