Class: CryptReboot::Rebooter
- Inherits:
-
Object
- Object
- CryptReboot::Rebooter
- Defined in:
- lib/crypt_reboot/rebooter.rb
Overview
Perform the reboot or exit (doesn’t return)
Instance Method Summary collapse
Instance Method Details
#call(act = !Config.prepare_only)) ⇒ Object
6 7 8 |
# File 'lib/crypt_reboot/rebooter.rb', line 6 def call(act = !Config.prepare_only) act ? runner.call : exiter.call end |