Class: Y2Network::Startmodes::Hotplug
- Inherits:
-
Y2Network::Startmode
- Object
- Y2Network::Startmode
- Y2Network::Startmodes::Hotplug
- Includes:
- Yast::I18n
- Defined in:
- src/lib/y2network/startmodes/hotplug.rb
Overview
hotplug startmode
Interface will be activated when it is available. Use instead of auto for devices which may be missed, such as devices included in a bonding, usb or other plugable hardware.
Constant Summary
Constants inherited from Y2Network::Startmode
Instance Attribute Summary
Attributes inherited from Y2Network::Startmode
Instance Method Summary collapse
-
#initialize ⇒ Hotplug
constructor
A new instance of Hotplug.
- #long_description ⇒ Object
- #to_human_string ⇒ Object
Methods inherited from Y2Network::Startmode
Constructor Details
#initialize ⇒ Hotplug
Returns a new instance of Hotplug.
31 32 33 34 35 |
# File 'src/lib/y2network/startmodes/hotplug.rb', line 31 def initialize textdomain "network" super("hotplug") end |
Instance Method Details
#long_description ⇒ Object
41 42 43 44 45 |
# File 'src/lib/y2network/startmodes/hotplug.rb', line 41 def long_description _( "Started automatically when attached" ) end |
#to_human_string ⇒ Object
37 38 39 |
# File 'src/lib/y2network/startmodes/hotplug.rb', line 37 def to_human_string _("On Hotplug") end |