class Rouge::Lexers::YAML

def self.analyze_text(text)

def self.analyze_text(text)
  # look for the %YAML directive
  return 1 if text =~ /\A\s*%YAML/m
end