class CodeRay::Encoders::CommentFilter
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