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, #propose, #proposed?, #read, #read?, #write, #write_sysconfig

Constructor Details

This class inherits a constructor from Bootloader::BootloaderBase

Instance Method Details

- (Object) name



24
25
26
# File 'src/lib/bootloader/none_bootloader.rb', line 24

def name
  "none"
end

- (Object) summary(simple_mode: false)



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

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