lib/kapost/env.rb
def fetch(*args, &block)
      @env.fetch(*args, &block)
    rescue ::KeyError
      raise KeyError, args.first
    end
# Exception raised when key is missing from ENV, and no default is given
Exception raised when key is missing from ENV, and no default is given
Exception raised when key is missing from ENV and no default is given
def fetch(*args, &block)
      @env.fetch(*args, &block)
    rescue ::KeyError
      raise KeyError, args.first
    end
def fetch ( * args , & block ) @env . fetch ( * args , & block ) rescue :: KeyError raise KeyError , args . first end
Exception raised when key is missing from ENV, and no default is given
Exception raised when key is missing from ENV and no default is given
args
block