class Rouge::Lexers::Diff

def self.analyze_text(text)

def self.analyze_text(text)
  return 1   if text.start_with?('Index: ')
  return 1   if text.start_with?('diff ')
  return 0.9 if text =~ /\A---.*?\n\+\+\+/m
end