class Minitest::UntzLOL

Public Instance Methods

untz(string) click to toggle source
# File lib/minitest/untz_plugin.rb, line 107
def untz(string)
  string = case string
           when '.' then 'untz'
           when 'S' then 'wub'
           else string
           end
  c = @colors[@index % @size]
  @index += 1
  "#{ESC}38;5;#{c}m#{string}#{NND}"
end