Class: Sponges::Hook
- Inherits:
-
Object
- Object
- Sponges::Hook
- Defined in:
- lib/sponges/configuration.rb
Class Attribute Summary collapse
-
._after_fork ⇒ Object
Returns the value of attribute _after_fork.
-
._on_chld ⇒ Object
Returns the value of attribute _on_chld.
Class Method Summary collapse
Class Attribute Details
._after_fork ⇒ Object
Returns the value of attribute _after_fork.
44 45 46 |
# File 'lib/sponges/configuration.rb', line 44 def _after_fork @_after_fork end |
._on_chld ⇒ Object
Returns the value of attribute _on_chld.
44 45 46 |
# File 'lib/sponges/configuration.rb', line 44 def _on_chld @_on_chld end |
Class Method Details
.after_fork ⇒ Object
46 47 48 |
# File 'lib/sponges/configuration.rb', line 46 def after_fork _after_fork.call if _after_fork.respond_to?(:call) end |
.on_chld ⇒ Object
50 51 52 |
# File 'lib/sponges/configuration.rb', line 50 def on_chld _on_chld.call if _on_chld.respond_to?(:call) end |