Module: Reflex::Hookable
- Includes:
- Xot::Hookable
- Included in:
- Application, Shape, View, Window
- Defined in:
- lib/reflex/helper.rb
Instance Method Summary collapse
Instance Method Details
#hook(name, &block) ⇒ Object
14 15 16 |
# File 'lib/reflex/helper.rb', line 14 def hook(name, &block) super "on_#{name}".intern, &block end |