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

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.