class Sinatra::Base

def configure(*envs, &block)

Allows scoping of settings for certain environments.
Set configuration options for Sinatra and/or the app.
def configure(*envs, &block)
  yield self if envs.empty? || envs.include?(environment.to_sym)
end