Module: Denko::Behaviors::Lifecycle

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

CALLBACK_METHODS =
[:before_initialize, :after_initialize]

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object

Callback hook DSL for setup work in including classes. include(Component) in final classes to get callbacks methods.



8
# File 'lib/denko/behaviors/lifecycle.rb', line 8

def self.included(base); base.extend ClassMethods; end