Sha256: a0a88b9a6b6b110edb7010330c1e684a0eab02736606dfeefc2488896653c5b0

Contents?: true

Size: 317 Bytes

Versions: 2

Compression:

Stored size: 317 Bytes

Contents

# encoding: utf-8
# 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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
proxy_pac_rb-0.4.2 lib/proxy_pac_rb/main.rb
proxy_pac_rb-0.4.0 lib/proxy_pac_rb/main.rb