lib/rack/when.rb in rack-when-0.0.2 vs lib/rack/when.rb in rack-when-0.0.3
- old
+ new
@@ -20,9 +20,13 @@
def production &block
environment :production, &block
end
+ def environments *environments, &block
+ Builder.new(*environments,block).mount
+ end
+
def environment environment, &block
Builder.new(environment,block).mount
end
end