class Rouge::Formatters::Null
A formatter which renders nothing.
Public Class Methods
new(*)
click to toggle source
# File lib/rouge/formatters/null.rb, line 8 def initialize(*) end
Public Instance Methods
stream(tokens) { |"#{tok} #{inspect}\n"| ... }
click to toggle source
# File lib/rouge/formatters/null.rb, line 11 def stream(tokens, &b) tokens.each do |tok, val| yield "#{tok} #{val.inspect}\n" end end