Class: Y2Network::Startmodes::Off
- Inherits:
-
Y2Network::Startmode
- Object
- Y2Network::Startmode
- Y2Network::Startmodes::Off
- Includes:
- Yast::I18n
- Defined in:
- src/lib/y2network/startmodes/off.rb
Overview
disabled startmode
Interface will never be activated.
Constant Summary
Constants inherited from Y2Network::Startmode
Instance Attribute Summary
Attributes inherited from Y2Network::Startmode
Instance Method Summary collapse
-
#initialize ⇒ Off
constructor
A new instance of Off.
- #long_description ⇒ Object
- #to_human_string ⇒ Object
Methods inherited from Y2Network::Startmode
Constructor Details
#initialize ⇒ Off
Returns a new instance of Off.
30 31 32 33 34 |
# File 'src/lib/y2network/startmodes/off.rb', line 30 def initialize textdomain "network" super("off") end |
Instance Method Details
#long_description ⇒ Object
40 41 42 43 44 |
# File 'src/lib/y2network/startmodes/off.rb', line 40 def long_description _( "Will not be started at all" ) end |
#to_human_string ⇒ Object
36 37 38 |
# File 'src/lib/y2network/startmodes/off.rb', line 36 def to_human_string _("Never") end |