module Roda::RodaPlugins::Environments::ClassMethods

def configure(*envs)

matches the current environment, yield the receiver to the block.
If no environments are given or one of the given environments
def configure(*envs)
  if envs.empty? || envs.any?{|s| s == environment}
    yield self
  end
end

def environment

as a symbol.
The current environment for the application, which should be stored
def environment
  opts[:environment]
end

def environment=(v)

RACK_ENV.
Override the environment for the application, instead of using
def environment=(v)
  opts[:environment] = v
end