Class: Sgdisk::Root
- Inherits:
-
Object
- Object
- Sgdisk::Root
- Defined in:
- lib/sgdisk.rb
Instance Method Summary collapse
-
#initialize(devs) ⇒ Root
constructor
A new instance of Root.
Constructor Details
#initialize(devs) ⇒ Root
Returns a new instance of Root.
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/sgdisk.rb', line 8 def initialize(devs) @gpt = devs[:gpt] ||= nil @efi = devs[:efi] ||= nil @boot = devs[:boot] ||= nil @swap = devs[:swap] ||= nil @root = devs[:root] ||= nil @home = devs[:home] ||= nil load_codes x end |