Class: Y2Remote::Modes::Base

Inherits:
Object
  • Object
show all
Extended by:
Yast::I18n
Includes:
Singleton, Yast::I18n, Yast::Logger
Defined in:
src/lib/y2remote/modes/base.rb

Overview

Base class

Direct Known Subclasses

Manager, VNC, Web

Instance Method Summary collapse

Constructor Details

#initializeBase

Constructor


35
36
37
# File 'src/lib/y2remote/modes/base.rb', line 35

def initialize
  Yast.import "Packages"
end

Instance Method Details

#installed?Boolean

Return whether all the required packages have been installed or not


49
50
51
# File 'src/lib/y2remote/modes/base.rb', line 49

def installed?
  Yast::Package.InstalledAll(required_packages)
end

#required_packagesArray<String>

Return a list of names of the required packages of the running mode


42
43
44
# File 'src/lib/y2remote/modes/base.rb', line 42

def required_packages
  []
end