class Thor::Shell::HTML

def output_diff_line(diff) #:nodoc:

:nodoc:
def output_diff_line(diff) #:nodoc:
  case diff.action
  when '-'
    say "- #{diff.old_element.chomp}", :red, true
  when '+'
    say "+ #{diff.new_element.chomp}", :green, true
  when '!'
    say "- #{diff.old_element.chomp}", :red, true
    say "+ #{diff.new_element.chomp}", :green, true
  else
    say "  #{diff.old_element.chomp}", nil, true
  end
end