Sha256: d93e3aafb4b662db4554c7ba17431de055ea7ea3c31c1f4c7ec199c690802a06

Contents?: true

Size: 569 Bytes

Versions: 1

Compression:

Stored size: 569 Bytes

Contents

require "yapfac/version"
require "yapfac/apache"

module Yapfac
  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.configuration=(configuration)
    @configuration = configuration
  end

  def self.configure
    yield configuration
  end

  class Configuration
    attr_accessor :apache_path
    attr_accessor :sites_available_path
    attr_accessor :sites_enabled_path

    def initialize
      @apache_path = "/etc/apache2"
      @sites_available_path = "sites-available"
      @sites_enabled_path = "sites-enabled"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yapfac-0.1.0 lib/yapfac.rb