enum

Fluxion::SystemdScope

Inherits Enum < Comparable < Value < Object

Which systemd manager a unit belongs to.

Constants

System = 0
User = 1

Class methods

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

Instance methods

config_name
Source
flag
Source
privileged?
Source
system?

Returns true if this enum value equals System

Source
to_s(io : IO) : Nil

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

See also: to_s.

Source
user?

Returns true if this enum value equals User

Source