Class: Y2Network::Widgets::BondSlavesTab
- Inherits:
-
CWM::Tab
- Object
- CWM::Tab
- Y2Network::Widgets::BondSlavesTab
- Defined in:
- src/lib/y2network/widgets/bond_slaves_tab.rb
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize(settings) ⇒ BondSlavesTab
constructor
A new instance of BondSlavesTab.
- #label ⇒ Object
Constructor Details
#initialize(settings) ⇒ BondSlavesTab
Returns a new instance of BondSlavesTab.
30 31 32 33 34 |
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 30 def initialize(settings) textdomain "network" @settings = settings end |
Instance Method Details
#contents ⇒ Object
40 41 42 |
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 40 def contents VBox(BondSlave.new(@settings), BondOptions.new(@settings)) end |
#label ⇒ Object
36 37 38 |
# File 'src/lib/y2network/widgets/bond_slaves_tab.rb', line 36 def label _("&Bond Slaves") end |