Skip to content

Commit

Permalink
Merge pull request #1621 from sampersand/swesterman/23-11-16/Struct
Browse files Browse the repository at this point in the history
Update Struct
  • Loading branch information
soutaro authored Nov 22, 2023
2 parents 0344191 + f3dcbce commit 73a6a02
Show file tree
Hide file tree
Showing 3 changed files with 636 additions and 27 deletions.
6 changes: 6 additions & 0 deletions core/hash.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,12 @@
class Hash[unchecked out K, unchecked out V] < Object
include Enumerable[[ K, V ]]

interface _Key
def hash: () -> Integer

def eql?: (untyped rhs) -> boolish
end

# <!--
# rdoc-file=hash.c
# - Hash[] -> new_empty_hash
Expand Down
Loading

0 comments on commit 73a6a02

Please sign in to comment.