module Sinatra

def self.new(base=Base, options={}, &block)

class scope.
Create a new Sinatra application. The block is evaluated in the new app's
def self.new(base=Base, options={}, &block)
  base = Class.new(base)
  base.class_eval(&block) if block_given?
  base
end