Sha256: c53a166afd4ce3f9e932117a43e60d46a3c7985d8b6841c2d551bd9cb77ff6db
Contents?: true
Size: 316 Bytes
Versions: 11
Compression:
Stored size: 316 Bytes
Contents
module CodeRay module Scanners class Plaintext < Scanner register_for :plaintext, :plain title 'Plain text' include Streamable KINDS_NOT_LOC = [:plain] def scan_tokens tokens, options text = (scan_until(/\z/) || '') tokens << [text, :plain] end end end end
Version data entries
11 entries across 11 versions & 2 rubygems