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