Class: Bootloader::Language
- Inherits:
-
CFA::BaseModel
- Object
- CFA::BaseModel
- Bootloader::Language
- Defined in:
- src/lib/bootloader/language.rb
Overview
Note:
If it is useful also in other places, then please consider to move
read only model to get system language from sysconfig Uses CFA base model with augeas parser this class Yast2 and rename to something like Sysconfig::Language
Constant Summary collapse
- PARSER =
CFA::AugeasParser.new("sysconfig.lns")
- PATH =
"/etc/sysconfig/language"
Instance Method Summary collapse
-
#initialize(file_handler: nil) ⇒ Language
constructor
A new instance of Language.
- #rc_lang ⇒ Object
Constructor Details
Instance Method Details
#rc_lang ⇒ Object
19 20 21 |
# File 'src/lib/bootloader/language.rb', line 19 def rc_lang generic_get("RC_LANG") end |