Class: Devs::Matrice

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

Direct Known Subclasses

MatExt4, MatZfs

Instance Method Summary collapse

Constructor Details

#initialize(disk, args) ⇒ Matrice

Returns a new instance of Matrice.



78
79
80
81
82
83
84
85
86
87
88
89
# File 'lib/devs.rb', line 78

def initialize(disk, args)
  @disk = disk
  @start = args[:start] ||= nil
  @boot = args[:boot] ||= nil
  @swap = args[:swap] ||= nil
  @root = args[:root] ||= nil
  @home = args[:home] ||= nil
  @whole = args[:whole] ||= false
  @device = Getch::Device.new
  @@part = 1
  x
end

Instance Method Details

#xObject



91
92
93
94
95
96
97
# File 'lib/devs.rb', line 91

def x
  start
  boot
  swap
  root
  home
end