Module: Abstractivator::Event

Defined in:
lib/abstractivator/event.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
# File 'lib/abstractivator/event.rb', line 3

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

Instance Method Details

#__event_hooksObject



27
28
29
# File 'lib/abstractivator/event.rb', line 27

def __event_hooks
  @__event_hooks ||= Hash.new { |h, k| h[k] = [] }
end