Class: Devs::Settings
- Inherits:
-
Object
- Object
- Devs::Settings
- Defined in:
- lib/devs.rb
Instance Method Summary collapse
-
#initialize(args, options) ⇒ Settings
constructor
A new instance of Settings.
- #x ⇒ Object
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, ) @args = args @start = args[:start] ||= nil @boot = args[:boot] ||= nil @swap = args[:swap] ||= nil @root = args[:root] ||= nil @options = @encrypt = [:encrypt] ||= false @lvm = [:lvm] ||= false @whole = nil @fs = [:fs] @tree = TREE[@fs.to_sym] x end |
Instance Method Details
#x ⇒ Object
22 23 24 25 26 27 |
# File 'lib/devs.rb', line 22 def x add_boot add_swap add_root add_home end |