Class: Y2Network::Widgets::EapPeap
- Inherits:
-
CWM::CustomWidget
- Object
- CWM::CustomWidget
- Y2Network::Widgets::EapPeap
- Defined in:
- src/lib/y2network/widgets/wireless_eap.rb
Overview
High level widget that represent PEAP authentication
Instance Attribute Summary collapse
-
#settings ⇒ Object
readonly
Returns the value of attribute settings.
Instance Method Summary collapse
- #contents ⇒ Object
-
#initialize(settings) ⇒ EapPeap
constructor
A new instance of EapPeap.
Constructor Details
#initialize(settings) ⇒ EapPeap
Returns a new instance of EapPeap.
98 99 100 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 98 def initialize(settings) @settings = settings end |
Instance Attribute Details
#settings ⇒ Object (readonly)
Returns the value of attribute settings.
96 97 98 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 96 def settings @settings end |
Instance Method Details
#contents ⇒ Object
102 103 104 105 106 107 |
# File 'src/lib/y2network/widgets/wireless_eap.rb', line 102 def contents VBox( HBox(EapUser.new(@settings), HSpacing(1), EapPassword.new(@settings)), ServerCAPath.new(@settings) ) end |