enum

Fluxion::OsFamily

Inherits Enum < Comparable < Value < Object

Coarser grouping used by manifest when.osFamily rules, where "any Debian derivative" is the useful predicate rather than a specific distribution.

Constants

Debian = 0
Fedora = 1
Arch = 2
Suse = 3

Class methods

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

Instance methods

arch?

Returns true if this enum value equals Arch

Source
config_name
Source
debian?

Returns true if this enum value equals Debian

Source
fedora?

Returns true if this enum value equals Fedora

Source
suse?

Returns true if this enum value equals Suse

Source
to_s(io : IO) : Nil

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

See also: to_s.

Source