Sha256: 666d99314a8a8defe46700fffb1ad12b7b5b98d52a630c7463c4764d98c0ab47
Contents?: true
Size: 533 Bytes
Versions: 4
Compression:
Stored size: 533 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true module ProxyPacRb module Cli # Shared methods for all cli commands module Shared # Enable debug mode def enable_debug_mode ProxyPacRb.enable_debug_mode if options[:debug_mode] == true end # Remove proxy variables def remove_proxy_environment_variables %w( http_proxy https_proxy HTTP_PROXY HTTPS_PROXY ).each do |v| ENV.delete(v) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems