Method: HTTP::Features::AutoDeflate::CompressedBody#each
- Defined in:
- lib/http/features/auto_deflate.rb
#each(&block) ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/http/features/auto_deflate.rb', line 65 def each(&block) return to_enum __method__ unless block if @compressed compressed_each(&block) else compress(&block) end self end |