Class: Y2Network::Widgets::EapAnonymousUser

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

Overview

Widget that represent EAP anonymous user that is used for initial connection

Instance Method Summary collapse

Constructor Details

#initialize(builder) ⇒ EapAnonymousUser


193
194
195
196
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 193

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

Instance Method Details

#helpObject


210
211
212
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 210

def help
  "" # TODO: write it
end

#initObject


202
203
204
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 202

def init
  self.value = @builder.wpa_anonymous_identity
end

#labelObject


198
199
200
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 198

def label
  _("&Anonymous Identity")
end

#storeObject


206
207
208
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 206

def store
  @builder.wpa_anonymous_identity = value
end