Class: Yast::InstallInfConvertor::InstallInf

Inherits:
Object
  • Object
show all
Defined in:
src/lib/network/install_inf_convertor.rb

Overview

Class for accessing /etc/install.inf. See en.opensuse.org/SDB:Linuxrc_install.inf

Constant Summary collapse

INSTALL_INF =
Path.new(".etc.install_inf")

Class Method Summary collapse

Class Method Details

.[](item) ⇒ Object


35
36
37
# File 'src/lib/network/install_inf_convertor.rb', line 35

def self.[](item)
  SCR.Read(INSTALL_INF + Path.new(".#{item}")).to_s
end