Skip to content

Commit 6ac5d67

Browse files
Fix type of Hashie::Mash (#910)
The Mash class does not inherit from stdlib's Hash but instead from Hashie::Hash which inherits from Hash.
1 parent 8f328fc commit 6ac5d67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

gems/hashie/5.0/hashie.rbs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module Hashie
2-
class Mash < Hash[untyped, untyped]
2+
class Hash < ::Hash[untyped, untyped]
3+
end
4+
5+
class Mash < Hash
36
end
47
end

0 commit comments

Comments
 (0)