Abstract
Removes ANSI color escape sequences.
@see Nanoc::CLI::StreamCleaners::Abstract#clean
# File lib/nanoc/cli/stream_cleaners/ansi_colors.rb, line 8 def clean(s) s.gsub(/\e\[.+?m/, '') end
[Validate]
Generated with the Darkfish Rdoc Generator 2.