enum

Patty::Core::Health::State

Inherits Enum < Comparable < Value < Object

Constants

Healthy = 0
Unhealthy = 1
Unknown = 2
Disabled = 3

Instance methods

css_class
Source
disabled?

Returns true if this enum value equals Disabled

Source
healthy?

Returns true if this enum value equals Healthy

Source
label
Source
unhealthy?

Returns true if this enum value equals Unhealthy

Source
unknown?

Returns true if this enum value equals Unknown

Source