module Ftpmock::VerboseUtils

Public Instance Methods

alert(tag, content, color) click to toggle source
# File lib/ftpmock/utils/verbose_utils.rb, line 13
def alert(tag, content, color)
  content = ColorUtils.colorize(content, color)
  output = ColorUtils.bold "#{tag} -> #{content}"
  puts output
end
puts(string = '') click to toggle source
# File lib/ftpmock/utils/verbose_utils.rb, line 9
def puts(string = '')
  Kernel.puts string
end
warn(string) click to toggle source
# File lib/ftpmock/utils/verbose_utils.rb, line 5
def warn(string)
  Kernel.warn string
end