Class: CryptReboot::InstantiableConfig
- Inherits:
-
Object
- Object
- CryptReboot::InstantiableConfig
- Defined in:
- lib/crypt_reboot/instantiable_config.rb
Overview
Configuration object
Direct Known Subclasses
Constant Summary collapse
- UnrecognizedSetting =
Class.new StandardError
Instance Attribute Summary collapse
-
#cat_path ⇒ Object
readonly
Returns the value of attribute cat_path.
-
#cmdline ⇒ Object
readonly
Returns the value of attribute cmdline.
-
#cpio_path ⇒ Object
readonly
Returns the value of attribute cpio_path.
-
#cryptsetup_path ⇒ Object
readonly
Returns the value of attribute cryptsetup_path.
-
#debug ⇒ Object
readonly
Returns the value of attribute debug.
-
#grep_path ⇒ Object
readonly
Returns the value of attribute grep_path.
-
#initramfs ⇒ Object
readonly
Returns the value of attribute initramfs.
-
#insecure_memory ⇒ Object
readonly
Returns the value of attribute insecure_memory.
-
#kernel ⇒ Object
readonly
Returns the value of attribute kernel.
-
#kexec_path ⇒ Object
readonly
Returns the value of attribute kexec_path.
-
#mount_path ⇒ Object
readonly
Returns the value of attribute mount_path.
-
#patch_save_path ⇒ Object
readonly
Returns the value of attribute patch_save_path.
-
#prepare_only ⇒ Object
readonly
Returns the value of attribute prepare_only.
-
#reboot_path ⇒ Object
readonly
Returns the value of attribute reboot_path.
-
#skip_lz4_check ⇒ Object
readonly
Returns the value of attribute skip_lz4_check.
-
#strace_path ⇒ Object
readonly
Returns the value of attribute strace_path.
-
#umount_path ⇒ Object
readonly
Returns the value of attribute umount_path.
-
#unmkinitramfs_path ⇒ Object
readonly
Returns the value of attribute unmkinitramfs_path.
Instance Method Summary collapse
Instance Attribute Details
#cat_path ⇒ Object (readonly)
Returns the value of attribute cat_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def cat_path @cat_path end |
#cmdline ⇒ Object (readonly)
Returns the value of attribute cmdline.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def cmdline @cmdline end |
#cpio_path ⇒ Object (readonly)
Returns the value of attribute cpio_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def cpio_path @cpio_path end |
#cryptsetup_path ⇒ Object (readonly)
Returns the value of attribute cryptsetup_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def cryptsetup_path @cryptsetup_path end |
#debug ⇒ Object (readonly)
Returns the value of attribute debug.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def debug @debug end |
#grep_path ⇒ Object (readonly)
Returns the value of attribute grep_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def grep_path @grep_path end |
#initramfs ⇒ Object (readonly)
Returns the value of attribute initramfs.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def initramfs @initramfs end |
#insecure_memory ⇒ Object (readonly)
Returns the value of attribute insecure_memory.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def insecure_memory @insecure_memory end |
#kernel ⇒ Object (readonly)
Returns the value of attribute kernel.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def kernel @kernel end |
#kexec_path ⇒ Object (readonly)
Returns the value of attribute kexec_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def kexec_path @kexec_path end |
#mount_path ⇒ Object (readonly)
Returns the value of attribute mount_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def mount_path @mount_path end |
#patch_save_path ⇒ Object (readonly)
Returns the value of attribute patch_save_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def patch_save_path @patch_save_path end |
#prepare_only ⇒ Object (readonly)
Returns the value of attribute prepare_only.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def prepare_only @prepare_only end |
#reboot_path ⇒ Object (readonly)
Returns the value of attribute reboot_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def reboot_path @reboot_path end |
#skip_lz4_check ⇒ Object (readonly)
Returns the value of attribute skip_lz4_check.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def skip_lz4_check @skip_lz4_check end |
#strace_path ⇒ Object (readonly)
Returns the value of attribute strace_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def strace_path @strace_path end |
#umount_path ⇒ Object (readonly)
Returns the value of attribute umount_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def umount_path @umount_path end |
#unmkinitramfs_path ⇒ Object (readonly)
Returns the value of attribute unmkinitramfs_path.
8 9 10 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 8 def unmkinitramfs_path @unmkinitramfs_path end |
Instance Method Details
#update!(**settings) ⇒ Object
13 14 15 16 17 |
# File 'lib/crypt_reboot/instantiable_config.rb', line 13 def update!(**settings) settings.each do |name, value| set!(name, value) end end |