lib/rack/when/builder.rb in rack-when-0.0.1 vs lib/rack/when/builder.rb in rack-when-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
module Rack
module When
class Builder
- def initialize env, &block
+ def initialize env, block
@env, @block = env, block
end
def mount
@block.call if has_matching_env?