Sha256: 3a4638e21797134ddc011a3c818d1ab1a1f23bbe8419b55213e2e88310a2f9bf

Contents?: true

Size: 177 Bytes

Versions: 3

Compression:

Stored size: 177 Bytes

Contents

module Rouge
  module Lexers
    class Text < Lexer
      tag 'text'

      def stream_tokens(stream, &b)
        yield Token['Text'], stream.string
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rouge-0.0.6 lib/rouge/lexers/text.rb
rouge-0.0.5 lib/rouge/lexers/text.rb
rouge-0.0.4 lib/rouge/lexers/text.rb