Sha256: e5f9c1930d07a1bf269c3fe476be5b3a7bbd41c37800a80ad100ca461d2b206c
Contents?: true
Size: 215 Bytes
Versions: 16
Compression:
Stored size: 215 Bytes
Contents
# frozen_string_literal: true class FileStreamer def initialize(file_path) @file_path = file_path end def each(&blk) File.open(@file_path, 'rb') do |file| file.each(10, &blk) end end end
Version data entries
16 entries across 16 versions & 2 rubygems