os/linux/kernel: enable strict typing
This commit is contained in:
parent
f381b2cdf7
commit
100c7f36b1
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
module OS
|
||||
@ -14,6 +14,7 @@ module OS
|
||||
Version.new "3.2"
|
||||
end
|
||||
|
||||
sig { returns(T::Boolean) }
|
||||
def below_minimum_version?
|
||||
OS.kernel_version < minimum_version
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user