diff options
Diffstat (limited to 'lib/coderay/encoders/text.rb')
-rw-r--r-- | lib/coderay/encoders/text.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/coderay/encoders/text.rb b/lib/coderay/encoders/text.rb index 161ee67..26fef84 100644 --- a/lib/coderay/encoders/text.rb +++ b/lib/coderay/encoders/text.rb @@ -1,6 +1,17 @@ module CodeRay module Encoders - + + # Concats the tokens into a single string, resulting in the original + # code string if no tokens were removed. + # + # Alias: +plain+ + # + # == Options + # + # === :separator + # A separator string to join the tokens. + # + # Default: empty String class Text < Encoder include Streamable |