Sha256: 19190b01c161dcf71bc852c4a0e8082e5707276af7f403c171a387a05ecdf6a8
Contents?: true
Size: 303 Bytes
Versions: 3
Compression:
Stored size: 303 Bytes
Contents
# frozen_string_literal: true # Used when you need to supply a destination IO for some # write operations, but want to discard the data (like when # estimating the size of a ZIP) module ZipTricks::NullWriter # @param _[String] the data to write # @return [self] def self.<<(_) self end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
zip_tricks-5.6.0 | lib/zip_tricks/null_writer.rb |
zip_tricks-5.5.0 | lib/zip_tricks/null_writer.rb |
zip_tricks-5.4.0 | lib/zip_tricks/null_writer.rb |