Class: CryptReboot::Config

Inherits:
InstantiableConfig show all
Includes:
Singleton
Defined in:
lib/crypt_reboot/config.rb

Overview

Global configuration singleton

Constant Summary

Constants inherited from InstantiableConfig

InstantiableConfig::UnrecognizedSetting

Instance Attribute Summary

Attributes inherited from InstantiableConfig

#cat_path, #cmdline, #cpio_path, #cryptsetup_path, #debug, #grep_path, #initramfs, #insecure_memory, #kernel, #kexec_path, #mount_path, #patch_save_path, #prepare_only, #reboot_path, #skip_lz4_check, #strace_path, #umount_path, #unmkinitramfs_path

Class Method Summary collapse

Methods inherited from InstantiableConfig

#update!

Class Method Details

.method_missing(method_name, *args, **kwargs, &block) ⇒ Object



11
12
13
# File 'lib/crypt_reboot/config.rb', line 11

def method_missing(method_name, *args, **kwargs, &block)
  instance.respond_to?(method_name) ? instance.send(method_name, *args, **kwargs, &block) : super
end

.respond_to_missing?(name, *_, **_) ⇒ Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/crypt_reboot/config.rb', line 15

def respond_to_missing?(name, *_, **_)
  instance.respond_to?(name)
end