From 75bc5455af8c3c3381066aac3d5fff42264cac6f Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Fri, 19 Aug 2011 03:09:35 +0200 Subject: Major rewrite of encoders to support IO output; fixed some minor scanner bugs; cleanups; dropped NitroXHTML scanner; improved tests --- lib/coderay/tokens.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/coderay/tokens.rb') diff --git a/lib/coderay/tokens.rb b/lib/coderay/tokens.rb index f6f8845..1566276 100644 --- a/lib/coderay/tokens.rb +++ b/lib/coderay/tokens.rb @@ -73,9 +73,7 @@ module CodeRay encoder.encode_tokens self, options end - # Turn into a string using Encoders::Text. - # - # +options+ are passed to the encoder if given. + # Turn tokens into a string by concatenating them. def to_s encode CodeRay::Encoders::Encoder.new end -- cgit v1.2.1