class WifiWand::CommandLineInterface::OpenResources
Public Instance Methods
find_by_code(code)
click to toggle source
# File lib/wifi-wand/command_line_interface.rb, line 28 def find_by_code(code) detect { |resource| resource.code == code } end
help_string()
click to toggle source
Ex: “('ipc' (IP Chicken), 'ipw' (What is My IP), 'spe' (Speed Test))”
# File lib/wifi-wand/command_line_interface.rb, line 33 def help_string map(&:help_string).join(', ') end