Sha256: d60ae583a872750b6c628d195e26e5d29be9a93c32ba8083116ce7561f7ce492
Contents?: true
Size: 246 Bytes
Versions: 1
Compression:
Stored size: 246 Bytes
Contents
module Bychar # Bare reader that just proxies to an IO class ReaderBare #:nodoc: :all def initialize(io) @io = io end def read_one_char! b = @io.read(1) raise Bychar::EOF if b.nil? b end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bychar-2.0.0 | lib/impls/reader_bare.rb |