Class: Yast::RemoteClient

Inherits:
Client
  • Object
show all
Includes:
I18n, Logger
Defined in:
src/clients/remote.rb

Instance Method Summary collapse

Constructor Details

#initializeRemoteClient


31
32
33
34
35
36
37
38
39
40
41
42
# File 'src/clients/remote.rb', line 31

def initialize
  Yast.import "UI"

  textdomain "network"

  Yast.import "Label"
  Yast.import "Wizard"
  Yast.import "Report"

  Yast.import "CommandLine"
  Yast.import "RichText"
end

Instance Method Details

#mainObject


44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# File 'src/clients/remote.rb', line 44

def main
  # The main ()
  log.info("----------------------------------------")
  log.info("Remote module started")

  remote.read
  # Command line definition
  ret = CommandLine.Run(command_line_definition)
  log.debug("ret=#{ret}")

  # Finish
  log.info("Remote module finished")
  log.info("----------------------------------------")

  ret
end