module Eventwire
  module Middleware
    class Base
      def initialize(app)
        @app = app
      end

      def method_missing(meth, *args, &blk)
        @app.send(meth, *args, &blk)
      end
    end
  end
end
require 'delegate'

module Eventwire
  module Middleware
    class Base < SimpleDelegator
      def initialize(app)
        @app = app
        super(app)
      end
    end
  end
end
Use the ruby standard library
Use the ruby standard library