# frozen_string_literal: true

# This module provides classes for the Makit gem.
module Makit
  # This class provide methods for working with the system Environment.
  #
  class Apache
    def self.server_root
      os = Makit::Environment::get_os
      if os == "windows"
        "C:\\Apache24"
      elsif os == "linux"
        "/etc/apache2"
      elsif os == "mac"
        "/private/etc/apache2"
      else
        nil
      end
      # default on windows: C:\Apache24
      # default on linux: /etc/apache2
      # default on mac: /private/etc/apache2
      #nil
    end

    def self.document_root
      # default on windows: C:\Apache24\htdocs
      # default on linux: /var/www/html
      # default on mac: /Library/WebServer/Documents
      nil
    end
  end
end