enum

Fluxion::SystemdState

Inherits Enum < Comparable < Value < Object

Desired runtime state for a unit.

Constants

Started = 0
Stopped = 1
Unchanged = 2

Class methods

from_config?(value : String | Nil) : self | Nil
Source

Instance methods

config_name
Source
started?

Returns true if this enum value equals Started

Source
stopped?

Returns true if this enum value equals Stopped

Source
to_s(io : IO) : Nil

Appends a String representation of this enum member to the given io.

See also: to_s.

Source
unchanged?

Returns true if this enum value equals Unchanged

Source