Method: Pageflow::Hooks#initialize
- Defined in:
- lib/pageflow/hooks.rb
#initialize ⇒ Hooks
Returns a new instance of Hooks.
3 4 5 6 7 |
# File 'lib/pageflow/hooks.rb', line 3 def initialize @subscribers = Hash.new do |hash, key| hash[key] = [] end end |