Class: Y2Network::Startmodes::Manual

Inherits:
Y2Network::Startmode show all
Includes:
Yast::I18n
Defined in:
src/lib/y2network/startmodes/manual.rb

Overview

Manual startmode

Interface will be set up if ip is called manually

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

#initializeManual

Returns a new instance of Manual.



30
31
32
33
34
# File 'src/lib/y2network/startmodes/manual.rb', line 30

def initialize
  textdomain "network"

  super("manual")
end

Instance Method Details

#long_descriptionObject



40
41
42
43
44
# File 'src/lib/y2network/startmodes/manual.rb', line 40

def long_description
  _(
    "Started manually"
  )
end

#to_human_stringObject



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

def to_human_string
  _("Manually")
end