Class: Bootloader::BootCodeTab
- Inherits:
-
CWM::Tab
- Object
- CWM::Tab
- Bootloader::BootCodeTab
- Includes:
- Grub2Widget
- Defined in:
- src/lib/bootloader/grub2_widgets.rb
Overview
Represent tab with options related to stage1 location and bootloader type
Instance Method Summary (collapse)
- - (Object) contents
-
- (BootCodeTab) initialize
constructor
A new instance of BootCodeTab.
- - (Object) label
Methods included from Grub2Widget
#grub2, #grub_default, #password, #sections, #stage1
Constructor Details
- (BootCodeTab) initialize
Returns a new instance of BootCodeTab
738 739 740 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 738 def initialize self.initial = true end |
Instance Method Details
- (Object) contents
748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 748 def contents = [] << (LoaderLocationWidget.new) if if << (ActivateWidget.new) << (GenericMBRWidget.new) end << (SecureBootWidget.new) if << (PMBRWidget.new) if << (DeviceMapWidget.new) if VBox( LoaderTypeWidget.new, *, VStretch() ) end |
- (Object) label
742 743 744 745 746 |
# File 'src/lib/bootloader/grub2_widgets.rb', line 742 def label textdomain "bootloader" _("boot code options") end |