Module: Reflex::Hookable
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 |
16 17 18 |
# File 'lib/reflex/helper.rb', line 16 def hook (name, &block) super "on_#{name}".intern, &block end |