Class: Y2Network::Widgets::EapPassword

Inherits:
CWM::Password
  • Object
show all
Defined in:
src/lib/y2network/widgets/wireless_eap.rb

Overview

Widget that represent EAP password

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ EapPassword


145
146
147
148
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 145

def initialize(builder)
  @builder = builder
  textdomain "network"
end

Instance Method Details

#helpObject


162
163
164
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 162

def help
  "" # TODO: write it
end

#initObject


154
155
156
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 154

def init
  self.value = @builder.wpa_password
end

#labelObject


150
151
152
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 150

def label
  _("Password")
end

#storeObject


158
159
160
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 158

def store
  @builder.wpa_password = value
end