Sha256: 69c2e78aa9a07b7f484a807dec7df99f3eedf56be1285d3e32d8b0c5a91ebf6b
Contents?: true
Size: 541 Bytes
Versions: 4
Compression:
Stored size: 541 Bytes
Contents
# encoding: utf-8 # frozen_string_literal: true # Main module ProxyPacRb @debug_mode = false class << self private attr_accessor :debug_mode public def debug_mode_enabled? debug_mode == true end def enable_debug_mode self.debug_mode = true %w(pry byebug).each { |l| require l } end def require_file_matching_pattern(pattern) root = File.expand_path('../', __FILE__) path = File.join(root, pattern) Dir.glob(path).each { |f| require_relative f } end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
proxy_pac_rb-3.0.0 | lib/proxy_pac_rb/main.rb |
proxy_pac_rb-2.1.0 | lib/proxy_pac_rb/main.rb |
proxy_pac_rb-2.0.0 | lib/proxy_pac_rb/main.rb |
proxy_pac_rb-1.0.0 | lib/proxy_pac_rb/main.rb |