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 13, 2024
1 parent b8817bb commit 4253a73
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 @@ -749,6 +749,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

def initialize: (untyped klass, untyped association) -> untyped
Expand Down

0 comments on commit 4253a73

Please sign in to comment.