Class: Mkfs::Root
- Inherits:
-
Object
- Object
- Mkfs::Root
- Defined in:
- lib/mkfs.rb
Instance Method Summary collapse
-
#initialize(devs, options) ⇒ Root
constructor
A new instance of Root.
Constructor Details
#initialize(devs, options) ⇒ Root
Returns a new instance of Root.
21 22 23 24 25 26 27 28 29 |
# File 'lib/mkfs.rb', line 21 def initialize(devs, ) @efi = devs[:efi] ||= nil @boot = devs[:boot] ||= nil @swap = devs[:swap] ||= nil @root = devs[:root] ||= nil @home = devs[:home] ||= nil @fs = [:fs] x end |