Refactor and document SystemConfig
.
This commit is contained in:
parent
72419630b4
commit
e2c9e6d3c2
@ -3,7 +3,7 @@
|
||||
require "formula"
|
||||
require "os/linux/glibc"
|
||||
|
||||
class SystemConfig
|
||||
module SystemConfig
|
||||
class << self
|
||||
def host_glibc_version
|
||||
version = OS::Linux::Glibc.system_version
|
||||
|
@ -1,6 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class SystemConfig
|
||||
module SystemConfig
|
||||
class << self
|
||||
undef describe_java, describe_homebrew_ruby
|
||||
|
||||
|
@ -5,7 +5,10 @@ require "software_spec"
|
||||
require "development_tools"
|
||||
require "extend/ENV"
|
||||
|
||||
class SystemConfig
|
||||
# Helper module for querying information about the system configuration.
|
||||
#
|
||||
# @api private
|
||||
module SystemConfig
|
||||
class << self
|
||||
def clang
|
||||
@clang ||= if DevelopmentTools.installed?
|
||||
|
Loading…
x
Reference in New Issue
Block a user