Sha256: a3e11c8171323af0e2f00a9ab284c929bb4fefa29ae88350de342035d7c10130
Contents?: true
Size: 225 Bytes
Versions: 15
Compression:
Stored size: 225 Bytes
Contents
# frozen_string_literal: true require "stringio" module Refinements module StringIOs refine StringIO do def reread length = nil, buffer: nil tap(&:rewind).read length, buffer end end end end
Version data entries
15 entries across 15 versions & 1 rubygems