Class: Monitors::BaseMonitor
- Inherits:
-
Object
show all
- Defined in:
- lib/poolparty/monitors/base_monitor.rb
Instance Method Summary
collapse
Constructor Details
#initialize(env = nil) ⇒ BaseMonitor
Returns a new instance of BaseMonitor.
10
11
12
|
# File 'lib/poolparty/monitors/base_monitor.rb', line 10
def initialize(env=nil)
@env=env
end
|
Instance Method Details
#after_close_callbacks ⇒ Object
28
29
30
|
# File 'lib/poolparty/monitors/base_monitor.rb', line 28
def after_close_callbacks
@after_close_callbacks ||= []
end
|
#before_close_callbacks ⇒ Object
25
26
27
|
# File 'lib/poolparty/monitors/base_monitor.rb', line 25
def before_close_callbacks
@before_close_callbacks ||= []
end
|