class Gem::ConfigFile

def backtrace

True if the backtrace option has been specified, or debug is on.
def backtrace
  @backtrace or $DEBUG
end