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