Sha256: 69e752a62925b7e32f1f5ad7242aa67b8d66d71ade10008d7f89020606481d5a
Contents?: true
Size: 335 Bytes
Versions: 10
Compression:
Stored size: 335 Bytes
Contents
# -*- 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.qualname} #{val.inspect}\n" end end end end end
Version data entries
10 entries across 10 versions & 3 rubygems