blob: 04f1ba00ab030798d95e85f35fce36db5938fcfa [file] [log] [blame]
# -*- coding: utf-8 -*- #
module Rouge
module Formatters
# A formatter which renders nothing.
class Null < Formatter
tag 'null'
def initialize(*)
end
def stream(tokens, &b)
tokens.each do |tok, val|
yield "#{tok} #{val.inspect}\n"
end
end
end
end
end