«
Rule languages supports extensions to UpDownType
logger.info("UpDownType inspected: #{UP.inspect}")
logger.info("UpDownType is up: #{<state>.up?}")
logger.info("UpDownType is down: #{<state>.down?}")
state | up | down | |
---|---|---|---|
UP | true | false | |
DOWN | false | true |