Class: Yast::BootloaderClient
- Inherits:
-
Client
- Object
- Client
- Yast::BootloaderClient
- Defined in:
- src/clients/bootloader.rb
Instance Method Summary (collapse)
-
- (Boolean) GuiHandler
CommandLine handler for running GUI.
- - (Object) main
Instance Method Details
- (Boolean) GuiHandler
CommandLine handler for running GUI
44 45 46 47 48 49 |
# File 'src/clients/bootloader.rb', line 44 def GuiHandler ret = ::Bootloader::MainDialog.new.run return false if ret == :abort || ret == :back || ret == :nil true end |
- (Object) main
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'src/clients/bootloader.rb', line 23 def main textdomain "bootloader" Yast.import "CommandLine" # the command line description map cmdline = { "id" => "bootloader", # command line help text for Bootloader module "help" => _("Boot loader configuration module"), "guihandler" => fun_ref(method(:GuiHandler), "boolean ()") } CommandLine.Run(cmdline) end |