Abstract
Simplifies output by replacing UTF-8 characters with their ASCII decompositions.
@see Nanoc::CLI::StreamCleaners::Abstract#clean
# File lib/nanoc/cli/stream_cleaners/utf8.rb, line 8 def clean(s) # FIXME this decomposition is not generally usable s.gsub(/“|”/, '"').gsub(/‘|’/, '\').gsub('…', '...').gsub('©', '(c)') end
Generated with the Darkfish Rdoc Generator 2.