Exception: Bootloader::UnsupportedBootloader

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

Overview

Represents unsupported bootloader type error

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(bootloader_name) ⇒ UnsupportedBootloader

Returns a new instance of UnsupportedBootloader.



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

def initialize(bootloader_name)
  super "Uninitialized bootlader '#{bootloader_name}'"
  @bootloader_name = bootloader_name
end

Instance Attribute Details

#bootloader_nameObject (readonly)

Returns the value of attribute bootloader_name.



8
9
10
# File 'src/lib/bootloader/exceptions.rb', line 8

def bootloader_name
  @bootloader_name
end