@deprecated Use the `:colorize_syntax` filter instead.
# File lib/nanoc/filters/coderay.rb, line 8 def run(content, params={}) # Warn warn 'The :coderay filter is deprecated; consider using the :colorize_syntax filter instead.' # Check params raise ArgumentError, "CodeRay filter requires a :language argument which is missing" if params[:language].nil? # Get result ::CodeRay.scan(content, params[:language]).html end
Generated with the Darkfish Rdoc Generator 2.