diff options
author | murphy <murphy@rubychan.de> | 2009-06-20 16:51:53 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-06-20 16:51:53 +0000 |
commit | c63310f2216caf6d9fb69925c125ecbd75f809fc (patch) | |
tree | 5f6f5208d50a3749f63608ed4a334ad51566e471 /lib/coderay/helpers | |
parent | d2a880f331747a0764ebef408f2e2ab556d5d954 (diff) | |
download | coderay-c63310f2216caf6d9fb69925c125ecbd75f809fc.tar.gz |
Added a Filter class; filters inherit from it and yield tokens.
You can write something like this now:
@CodeRay.scan('puts "Hello, world"! # secret', :ruby).token_filter(:exclude => [:comment]).div@
Diffstat (limited to 'lib/coderay/helpers')
0 files changed, 0 insertions, 0 deletions