summaryrefslogtreecommitdiff
path: root/lib/coderay/tokens.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/tokens.rb')
-rw-r--r--lib/coderay/tokens.rb4
1 files changed, 1 insertions, 3 deletions
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