class God::PollCondition
Attributes
interval[RW]
all poll conditions can specify a poll interval
Public Instance Methods
after()
click to toggle source
Override this method in your Conditions (optional)
# File lib/god/condition.rb, line 64 def after end
before()
click to toggle source
Override this method in your Conditions (optional)
# File lib/god/condition.rb, line 52 def before end
test()
click to toggle source
Override this method in your Conditions (mandatory)
Return true if the test passes (everything is ok) Return false otherwise
# File lib/god/condition.rb, line 59 def test raise AbstractMethodNotOverriddenError.new("PollCondition#test must be overridden in subclasses") end