Module: OS::Mac::SystemConfig Private

Included in:
SystemConfig
Defined in:
extend/os/mac/system_config.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Instance Method Summary collapse

Instance Method Details

#describe_clangString

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Returns:



10
11
12
13
14
15
# File 'extend/os/mac/system_config.rb', line 10

def describe_clang
  return "N/A" if ::SystemConfig.clang.null?

  clang_build_info = ::SystemConfig.clang_build.null? ? "(parse error)" : ::SystemConfig.clang_build
  "#{::SystemConfig.clang} build #{clang_build_info}"
end