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
15 16 17 |
# File 'lib/wifi-wand/command_line_interface.rb', line 15 def code @code end |
#description ⇒ Object
Returns the value of attribute description
15 16 17 |
# File 'lib/wifi-wand/command_line_interface.rb', line 15 def description @description end |
#resource ⇒ Object
Returns the value of attribute resource
15 16 17 |
# File 'lib/wifi-wand/command_line_interface.rb', line 15 def resource @resource end |
Instance Method Details
#help_string ⇒ Object
Ex: “‘ipw’ (What is My IP)”
18 19 20 |
# File 'lib/wifi-wand/command_line_interface.rb', line 18 def help_string "'#{code}' (#{description})" end |