Class: WifiWand::CommandLineInterface::OpenResource
- Inherits:
-
Struct
- Object
- Struct
- WifiWand::CommandLineInterface::OpenResource
- Defined in:
- lib/wifi-wand/command_line_interface.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#resource ⇒ Object
Returns the value of attribute resource.
Instance Method Summary collapse
-
#help_string ⇒ Object
Ex: “‘ipw’ (What is My IP)”.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
17 18 19 |
# File 'lib/wifi-wand/command_line_interface.rb', line 17 def code @code end |
#description ⇒ Object
Returns the value of attribute description
17 18 19 |
# File 'lib/wifi-wand/command_line_interface.rb', line 17 def description @description end |
#resource ⇒ Object
Returns the value of attribute resource
17 18 19 |
# File 'lib/wifi-wand/command_line_interface.rb', line 17 def resource @resource end |
Instance Method Details
#help_string ⇒ Object
Ex: “‘ipw’ (What is My IP)”
20 21 22 |
# File 'lib/wifi-wand/command_line_interface.rb', line 20 def help_string "'#{code}' (#{description})" end |