Class: Yast::RemoteClient
- Inherits:
-
Client
- Object
- Client
- Yast::RemoteClient
- Includes:
- I18n, Logger
- Defined in:
- src/clients/remote.rb
Instance Method Summary collapse
-
#initialize ⇒ RemoteClient
constructor
A new instance of RemoteClient.
- #main ⇒ Object
Constructor Details
#initialize ⇒ RemoteClient
Returns a new instance of RemoteClient.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'src/clients/remote.rb', line 29 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
#main ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'src/clients/remote.rb', line 42 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 |