Module: OS::Linux::Kernel Private

Defined in:
Library/Homebrew/os/linux/kernel.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Helper functions for querying Linux kernel information.

Class Method Summary collapse

Class Method Details

.below_minimum_version?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

16
17
18
# File 'Library/Homebrew/os/linux/kernel.rb', line 16

def below_minimum_version?
  OS.kernel_version < minimum_version
end

.minimum_versionObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


12
13
14
# File 'Library/Homebrew/os/linux/kernel.rb', line 12

def minimum_version
  Version.new "2.6.32"
end