Module: Reflex::Hookable

Includes:
Xot::Hookable
Included in:
Application, View, Window
Defined in:
lib/reflex/helper.rb

Instance Method Summary collapse

Instance Method Details

#hook(name, &block) ⇒ Object



16
17
18
# File 'lib/reflex/helper.rb', line 16

def hook (name, &block)
  super "on_#{name}".intern, &block
end