Module: OS::Linux::FormulaCellarChecks Private

Included in:
FormulaCellarChecks
Defined in:
extend/os/linux/formula_cellar_checks.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

#valid_library_extension?(filename) ⇒ Boolean

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.

Parameters:

Returns:

  • (Boolean)


8
9
10
# File 'extend/os/linux/formula_cellar_checks.rb', line 8

def valid_library_extension?(filename)
  super || filename.basename.to_s.include?(".so.")
end