class Sinatra::Base

def configure(*envs)

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