Sha256: 115ac7c4e6daac5360ac5f61f50d260a766de15c781e536ac3c525cc2c5741d3
Contents?: true
Size: 772 Bytes
Versions: 25
Compression:
Stored size: 772 Bytes
Contents
# 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
Version data entries
25 entries across 25 versions & 1 rubygems