Sha256: 5564ebd3367eefa13d296d7e579349e81e3fa2f4a53f2cbbf13c5445ab424a11

Contents?: true

Size: 199 Bytes

Versions: 1

Compression:

Stored size: 199 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
      @io.read(1)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bychar-3.0.0 lib/impls/reader_bare.rb