Skip to content

Commit fde6148

Browse files
Add signature for ActiveRecord::Core#==
1 parent 57c3933 commit fde6148

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

rbi/annotations/activerecord.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,3 +205,8 @@ class ActiveRecord::Relation
205205
sig { abstract.returns(T::Enumerator[Elem]) }
206206
def each(&blk); end
207207
end
208+
209+
module ActiveRecord::Core
210+
sig { params(comparison_object: T.anything).returns(T::Boolean) }
211+
def ==(comparison_object); end
212+
end

0 commit comments

Comments
 (0)