lib/httpx/session2.rb in httpx-0.17.0 vs lib/httpx/session2.rb in httpx-0.18.0

- old
+ new

@@ -5,10 +5,10 @@ class Session def initialize(options = EMPTY_HASH, &blk) @options = self.class.default_options.merge(options) @responses = {} @persistent = @options.persistent - wrap(&blk) if block_given? + wrap(&blk) if blk end def wrap begin prev_persistent = @persistent