Sha256: 5b34b92be3a1569abc33115f3b64a3c7b22c33bb5045b93fc68a35dd87ddecc9

Contents?: true

Size: 1.38 KB

Versions: 1

Compression:

Stored size: 1.38 KB

Contents

# frozen_string_literal: true
# encoding: UTF-8

# Requirements
# =======================================================================

# Stdlib
# -----------------------------------------------------------------------
require 'pp'
require 'pathname'
require 'shellwords'

# Deps
# -----------------------------------------------------------------------
require 'nrser'
require 'cmds'

# Project / Package
# -----------------------------------------------------------------------
require 'locd/version'
require 'locd/errors'
require 'locd/config'
require 'locd/util'
require 'locd/label'
require 'locd/pattern'
require 'locd/launchctl'
require 'locd/newsyslog'
require 'locd/agent'
require 'locd/proxy'


# Definitions
# =======================================================================

module Locd
  
  # Constants
  # ======================================================================
  
  # {Regexp} to match HTTP "Host" header line.
  # 
  # @return [Regexp]
  # 
  HOST_RE = /^Host\:\ /i
  
  
  # Mixins
  # ============================================================================
  
  # Add {.logger} and {#logger} methods
  include NRSER::Log::Mixin
  
  
  # Module Methods
  # ======================================================================
  
  # @return [Locd::Config]
  #   The configuration.
  # 
  def self.config
    @config ||= Locd::Config.new
  end
  
end # module Locd

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
locd-0.1.13 lib/locd.rb