Skip to content

Commit

Permalink
activerecord: Add #each and #empty? to _EachPair
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Jun 16, 2024
1 parent b645561 commit b0992ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gems/activerecord/6.0/activerecord.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -743,6 +743,8 @@ module ActiveRecord
class CollectionProxy < Relation
interface _EachPair
def each_pair: () { ([untyped, untyped]) -> untyped } -> self
def each: () { ([untyped, untyped]) -> untyped } -> self
def empty?: () -> bool
end

# Returns a new object of the collection type that has been instantiated
Expand Down

0 comments on commit b0992ee

Please sign in to comment.