Class: Y2Network::Widgets::EapUser

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

Overview

Widget that represent EAP user

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ EapUser


169
170
171
172
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 169

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

Instance Method Details

#helpObject


186
187
188
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 186

def help
  "" # TODO: write it
end

#initObject


178
179
180
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 178

def init
  self.value = @builder.wpa_identity
end

#labelObject


174
175
176
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 174

def label
  _("Identity")
end

#storeObject


182
183
184
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 182

def store
  @builder.wpa_identity = value
end