Class: WLIConfig::WLANConfig
- Inherits:
-
Object
- Object
- WLIConfig::WLANConfig
- Defined in:
- lib/wliconfig.rb
Overview
WLAN configure
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#pass ⇒ Object
readonly
Returns the value of attribute pass.
-
#ssid ⇒ Object
readonly
Returns the value of attribute ssid.
Instance Method Summary collapse
-
#initialize(ssid, mode, pass) ⇒ WLANConfig
constructor
A new instance of WLANConfig.
Constructor Details
#initialize(ssid, mode, pass) ⇒ WLANConfig
Returns a new instance of WLANConfig.
125 126 127 |
# File 'lib/wliconfig.rb', line 125 def initialize(ssid, mode, pass) @ssid, @mode, @pass = ssid, mode, pass end |
Instance Attribute Details
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
123 124 125 |
# File 'lib/wliconfig.rb', line 123 def mode @mode end |
#pass ⇒ Object (readonly)
Returns the value of attribute pass.
123 124 125 |
# File 'lib/wliconfig.rb', line 123 def pass @pass end |
#ssid ⇒ Object (readonly)
Returns the value of attribute ssid.
123 124 125 |
# File 'lib/wliconfig.rb', line 123 def ssid @ssid end |