global
def nyan_trail
-
(String)
- the sprintf format of the Nyan cat
def nyan_trail marks = @example_results.map{ |mark| highlight(mark) } marks.shift(current_width - terminal_width) if current_width >= terminal_width nyan_cat_lines = nyan_cat.split("\n").each_with_index.map do |line, index| format("%s#{line}", marks.join) end.join("\n") end