Module: Bootloader::Grub2Widget::Grub2Helper
- Included in:
- ActivateWidget, BootCodeTab, ConsoleWidget, DefaultSectionWidget, DeviceMapWidget, GenericMBRWidget, GrubPasswordWidget, HiddenMenuWidget, LoaderLocationWidget, OSProberWidget, PMBRWidget, SecureBootWidget, TimeoutWidget, TrustedBootWidget, UpdateNvramWidget
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Adds to generic widget grub2 specific helpers
Instance Method Summary collapse
Instance Method Details
#grub2 ⇒ Object
42 43 44 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 42 def grub2 BootloaderFactory.current end |
#grub_default ⇒ Object
26 27 28 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 26 def grub_default BootloaderFactory.current.grub_default end |
#password ⇒ Object
34 35 36 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 34 def password BootloaderFactory.current.password end |
#sections ⇒ Object
38 39 40 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 38 def sections BootloaderFactory.current.sections end |
#stage1 ⇒ Object
30 31 32 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 30 def stage1 BootloaderFactory.current.stage1 end |