class Diffy::SplitDiff
def split_left
def split_left case @format when :color @diff.gsub(/\033\[32m\+(.*)\033\[0m\n/, '') when :html, :html_simple @diff.gsub(%r{\s+<li class="ins"><ins>(.*)</ins></li>}, '') when :text @diff.gsub(/^\+(.*)\n/, '') end end