Class: Bootloader::DeviceMapDialog

Inherits:
Object
  • Object
show all
Includes:
Yast::I18n, Yast::UIShortcuts
Defined in:
src/lib/bootloader/device_map_dialog.rb

Overview

Represents dialog for modification of device map

Class Method Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (DeviceMapDialog) initialize(device_map)

Returns a new instance of DeviceMapDialog



19
20
21
# File 'src/lib/bootloader/device_map_dialog.rb', line 19

def initialize(device_map)
  @device_map = device_map
end

Class Method Details

+ (Object) run(device_map)



15
16
17
# File 'src/lib/bootloader/device_map_dialog.rb', line 15

def self.run(device_map)
  new(device_map).run
end

Instance Method Details

- (Object) run



23
24
25
26
27
28
29
30
31
32
33
# File 'src/lib/bootloader/device_map_dialog.rb', line 23

def run
  textdomain "bootloader"

  return unless create_dialog

  begin
    return controller_loop
  ensure
    close_dialog
  end
end