A simple Filter that removes all tokens of the :comment kind.
Alias: remove_comments
Usage:
CodeRay.scan('print # foo', :ruby).comment_filter.text
#-> "print "
See also: TokenKindFilter, LinesOfCode
Constants
| DEFAULT_OPTIONS | = | superclass::DEFAULT_OPTIONS.merge \ :exclude => [:comment, :docstring] |
