Class: Devs::Settings

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

Instance Method Summary collapse

Constructor Details

#initialize(args, options) ⇒ Settings

Returns a new instance of Settings.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/devs.rb', line 7

def initialize(args, options)
  @args = args
  @start = args[:start] ||= nil
  @boot = args[:boot] ||= nil
  @swap = args[:swap] ||= nil
  @root = args[:root] ||= nil
  @options = options
  @encrypt = options[:encrypt] ||= false
  @lvm = options[:lvm] ||= false
  @whole = nil
  @fs = options[:fs]
  @tree = TREE[@fs.to_sym]
  x
end

Instance Method Details

#xObject



22
23
24
25
26
27
# File 'lib/devs.rb', line 22

def x
  add_boot
  add_swap
  add_root
  add_home
end