flush

flush(flush = Zlib::SYNC_FLUSH) â String
flush(flush = Zlib::SYNC_FLUSH) { |chunk| ... } â nil
Instance Public methods

This method is equivalent to deflate('', flush). This method is just provided to improve the readability of your Ruby program. If a block is given chunks of deflate output are yielded to the block until the buffer is flushed.

See #deflate for detail on the flush constants NO_FLUSH, SYNC_FLUSH, FULL_FLUSH and FINISH.

doc_ruby_on_rails
2015-06-14 13:18:04
Comments
Leave a Comment

Please login to continue.