struct

Fluxion::HostFacts

Inherits Struct < Value < Object

What Fluxion detected about the machine it is running on. Manifest when rules match against this, never against the declared target.

Constructors

new(distribution : Distribution | Nil = nil, family : OsFamily | Nil = nil, distribution_id : String | Nil = nil, version : String | Nil = nil, codename : String | Nil = nil, architecture : Architecture | Nil = nil, pretty_name : String | Nil = nil)
Source

Instance methods

architecture
Source
codename
Source
distribution
Source
distribution_id

Raw ID from /etc/os-release, kept even when it maps to no known Distribution, so error messages can name what was actually found.

Source
family
Source
pretty_name
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
version
Source