Skip to content

Commit

Permalink
fix instance variable not initialized warning in Rack::Deflater::Gzip…
Browse files Browse the repository at this point in the history
…Stream
  • Loading branch information
stve committed May 8, 2013
1 parent b74afa9 commit 6c186f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rack/deflater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class GzipStream
def initialize(body, mtime)
@body = body
@mtime = mtime
@closed = false
end

def each(&block)
Expand Down

0 comments on commit 6c186f2

Please sign in to comment.