class Sinatra::Application

modular applications.
top-level. Subclassing Sinatra::Base is highly recommended for
inherit all settings, routes, handlers, and error pages from the
The Application class should not be subclassed, unless you want to
DSL methods executed on main are delegated to this class.
Execution context for classic style (top-level) applications. All

def self.register(*extensions, &block) #:nodoc:

:nodoc:
def self.register(*extensions, &block) #:nodoc:
  added_methods = extensions.flat_map(&:public_instance_methods)
  Delegator.delegate(*added_methods)
  super(*extensions, &block)
end