module Middleman::CoreExtensions::Request::CompatibleClassMethods

Public Instance Methods

server(&block) click to toggle source

Create a new Class which is based on Middleman::Application Used to create a safe sandbox into which extensions and configuration can be included later without impacting other classes and instances.

@return [Class]

# File lib/middleman-core/core_extensions/request.rb, line 144
def server(&block)
  ::Middleman::Application.server(&block)
end