Class: Yast2::Systemd::UnitPropMap
- Inherits:
-
Hash
- Object
- Hash
- Yast2::Systemd::UnitPropMap
- Defined in:
- library/systemd/src/lib/yast2/systemd/unit_prop_map.rb
Overview
A Unit Property Map is a plain Hash(Symbol => String).
It
- enumerates the properties we're interested in
- maps their Ruby names (snake_case) to systemd names (CamelCase)
Constant Summary collapse
- DEFAULT =
UnitPropMap[{ id: "Id", pid: "MainPID", description: "Description", load_state: "LoadState", active_state: "ActiveState", sub_state: "SubState", unit_file_state: "UnitFileState", unit_file_preset: "UnitFilePreset", path: "FragmentPath", can_reload: "CanReload" }].freeze