Class: Shouter::Hook
- Inherits:
-
Object
- Object
- Shouter::Hook
- Defined in:
- lib/shouter/hook.rb
Class Method Summary collapse
Class Method Details
.call(callback) ⇒ Object
5 6 7 8 |
# File 'lib/shouter/hook.rb', line 5 def call(callback) # TODO: remove redundant ifs callback.call if callback.is_a?(Proc) end |