Class: Bootloader::NoneBootloader

Inherits:
BootloaderBase show all
Includes:
Yast::I18n
Defined in:
src/lib/bootloader/none_bootloader.rb

Overview

Represents when bootloader want user manage itself

Instance Method Summary collapse

Methods inherited from BootloaderBase

#initialize, #merge, #packages, #prepare, #propose, #proposed?, #read, #read?, #write, #write_sysconfig

Constructor Details

This class inherits a constructor from Bootloader::BootloaderBase

Instance Method Details

#nameObject



26
27
28
# File 'src/lib/bootloader/none_bootloader.rb', line 26

def name
  "none"
end

#summary(simple_mode: false) ⇒ Object



13
14
15
16
17
18
19
20
21
22
23
24
# File 'src/lib/bootloader/none_bootloader.rb', line 13

def summary(simple_mode: false)
  textdomain "bootloader"

  if simple_mode
    [_("Do not install any boot loader")]
  else
    [Yast::HTML.Colorize(
      _("Do not install any boot loader"),
      "red"
    )]
  end
end