module Roda::RodaPlugins::Middleware::ClassMethods
def new(app, *args, &block)
Create a Forwarder instead of a new instance if a non-Hash is given.
def new(app, *args, &block) if app.is_a?(Hash) super else Forwarder.new(self, app, *args, &block) end end