Class: Devs::Matrice
- Inherits:
-
Object
- Object
- Devs::Matrice
- Defined in:
- lib/devs.rb
Instance Method Summary collapse
-
#initialize(disk, args) ⇒ Matrice
constructor
A new instance of Matrice.
- #x ⇒ Object
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
#x ⇒ Object
91 92 93 94 95 96 97 |
# File 'lib/devs.rb', line 91 def x start boot swap root home end |