class RDoc::RI::Driver

def formatter

def formatter
  if @formatter_klass then
    @formatter_klass.new
  elsif paging? then
    RDoc::Markup::ToBs.new
  else
    RDoc::Markup::ToAnsi.new
  end
end