Class: Y2Network::Startmodes::Off

Inherits:
Y2Network::Startmode show all
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

Y2Network::Startmode::ALIASES

Instance Attribute Summary

Attributes inherited from Y2Network::Startmode

#alias_name, #name

Instance Method Summary collapse

Methods inherited from Y2Network::Startmode

all, create

Constructor Details

#initializeOff

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_descriptionObject



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_stringObject



36
37
38
# File 'src/lib/y2network/startmodes/off.rb', line 36

def to_human_string
  _("Never")
end