module WifiWand::CommandOutputFormatter

Public Instance Methods

banner_line() click to toggle source
command_attempt_as_string(command) click to toggle source
# File lib/wifi-wand/models/helpers/command_output_formatter.rb, line 10
def command_attempt_as_string(command)
  "\n\n#{banner_line}\nCommand: #{command}\n"
end
command_result_as_string(output) click to toggle source
# File lib/wifi-wand/models/helpers/command_output_formatter.rb, line 14
def command_result_as_string(output)
  "#{output}#{banner_line}\n\n"
end