Class: Getch::States
- Inherits:
-
Object
- Object
- Getch::States
- Defined in:
- lib/getch/states.rb
Instance Method Summary collapse
- #bootloader ⇒ Object
- #finalize ⇒ Object
- #format ⇒ Object
-
#initialize ⇒ States
constructor
A new instance of States.
- #luks_keys ⇒ Object
- #mount ⇒ Object
- #partition ⇒ Object
- #post_config ⇒ Object
- #pre_config ⇒ Object
- #services ⇒ Object
- #tarball ⇒ Object
- #terraform ⇒ Object
- #update ⇒ Object
Constructor Details
#initialize ⇒ States
Returns a new instance of States.
7 8 9 10 |
# File 'lib/getch/states.rb', line 7 def initialize @file = File.join('/tmp/install_gentoo.yaml') load_state end |
Instance Method Details
#bootloader ⇒ Object
62 63 64 65 |
# File 'lib/getch/states.rb', line 62 def bootloader STATES[:bootloader] = true save end |
#finalize ⇒ Object
67 68 69 70 |
# File 'lib/getch/states.rb', line 67 def finalize STATES[:finalize] = true save end |
#format ⇒ Object
17 18 19 20 |
# File 'lib/getch/states.rb', line 17 def format STATES[:format] = true save end |
#luks_keys ⇒ Object
57 58 59 60 |
# File 'lib/getch/states.rb', line 57 def luks_keys STATES[:luks_keys] = true save end |
#mount ⇒ Object
22 23 24 25 |
# File 'lib/getch/states.rb', line 22 def mount STATES[:mount] = true save end |
#partition ⇒ Object
12 13 14 15 |
# File 'lib/getch/states.rb', line 12 def partition STATES[:partition] = true save end |
#post_config ⇒ Object
42 43 44 45 |
# File 'lib/getch/states.rb', line 42 def post_config STATES[:post_config] = true save end |
#pre_config ⇒ Object
32 33 34 35 |
# File 'lib/getch/states.rb', line 32 def pre_config STATES[:pre_config] = true save end |
#services ⇒ Object
52 53 54 55 |
# File 'lib/getch/states.rb', line 52 def services STATES[:services] = true save end |
#tarball ⇒ Object
27 28 29 30 |
# File 'lib/getch/states.rb', line 27 def tarball STATES[:tarball] = true save end |
#terraform ⇒ Object
47 48 49 50 |
# File 'lib/getch/states.rb', line 47 def terraform STATES[:terraform] = true save end |
#update ⇒ Object
37 38 39 40 |
# File 'lib/getch/states.rb', line 37 def update STATES[:update] = true save end |