Sha256: ec8bf0f2ac6eb4d9cc11cde039f52fbeeaac88ab5c9d2e246c7317b8530b9dee
Contents?: true
Size: 412 Bytes
Versions: 8
Compression:
Stored size: 412 Bytes
Contents
module Gitrb module Util if RUBY_VERSION > '1.9' def self.read_bytes_until(io, char) str = '' while ((ch = io.getc) != char) && !io.eof str << ch end str end else def self.read_bytes_until(io, char) str = '' while ((ch = io.getc.chr) != char) && !io.eof str << ch end str end end end end
Version data entries
8 entries across 8 versions & 1 rubygems