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
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module OS
|
module OS
|
||||||
@ -14,6 +14,7 @@ module OS
|
|||||||
Version.new "3.2"
|
Version.new "3.2"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
sig { returns(T::Boolean) }
|
||||||
def below_minimum_version?
|
def below_minimum_version?
|
||||||
OS.kernel_version < minimum_version
|
OS.kernel_version < minimum_version
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user