Add Pathname shim extension RBI definitions
This commit is contained in:
parent
594a38bfe1
commit
cbc895ce2b
5
Library/Homebrew/extend/os/linux/extend/pathname.rbi
Normal file
5
Library/Homebrew/extend/os/linux/extend/pathname.rbi
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# typed: strict
|
||||||
|
|
||||||
|
class Pathname
|
||||||
|
include ELFShim
|
||||||
|
end
|
||||||
5
Library/Homebrew/extend/os/mac/extend/pathname.rbi
Normal file
5
Library/Homebrew/extend/os/mac/extend/pathname.rbi
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# typed: strict
|
||||||
|
|
||||||
|
class Pathname
|
||||||
|
include MachOShim
|
||||||
|
end
|
||||||
@ -3908,10 +3908,6 @@ class Parser::Ruby26
|
|||||||
Racc_debug_parser = ::T.let(nil, ::T.untyped)
|
Racc_debug_parser = ::T.let(nil, ::T.untyped)
|
||||||
end
|
end
|
||||||
|
|
||||||
class Pathname
|
|
||||||
include ::MachOShim
|
|
||||||
end
|
|
||||||
|
|
||||||
class PkgVersion
|
class PkgVersion
|
||||||
def major(*args, &block); end
|
def major(*args, &block); end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user