Class: Sgdisk::Root

Inherits:
Object
  • Object
show all
Defined in:
lib/sgdisk.rb

Direct Known Subclasses

Encrypt, Ext4, Lvm, Zfs

Instance Method Summary collapse

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