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