Exception: Bootloader::UnsupportedBootloader

Inherits:
RuntimeError
  • Object
show all
Defined in:
src/lib/bootloader/autoyast_converter.rb

Overview

Represents unsupported bootloader type error

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (UnsupportedBootloader) initialize(bootloader_name)

Returns a new instance of UnsupportedBootloader



13
14
15
16
17
# File 'src/lib/bootloader/autoyast_converter.rb', line 13

def initialize(bootloader_name)
  @bootloader_name = bootloader_name

  super "Unsupported bootloader '#{bootloader_name}'"
end

Instance Attribute Details

- (Object) bootloader_name (readonly)

Returns the value of attribute bootloader_name



11
12
13
# File 'src/lib/bootloader/autoyast_converter.rb', line 11

def bootloader_name
  @bootloader_name
end