Module: ZipTricks::NullWriter
Overview
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)
Instance Method Summary collapse
Instance Method Details
#<<(data) ⇒ Object
5 |
# File 'lib/zip_tricks/null_writer.rb', line 5 def <<(data); self; end |