Skip to content

Commit b2e138e

Browse files
Remove mentions of Bignum and Fixnum. These were combined into Integer in Ruby 2.4 (#5470)
Co-authored-by: shields <[email protected]>
1 parent 7ec03ec commit b2e138e

File tree

3 files changed

+1
-121
lines changed

3 files changed

+1
-121
lines changed

lib/mongoid/criteria/queryable/key.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def ==(other)
9191

9292
# Calculate the hash code for a key.
9393
#
94-
# @return [ Fixnum ] The hash code for the key.
94+
# @return [ Integer ] The hash code for the key.
9595
def hash
9696
[name, operator, expanded].hash
9797
end

spec/mongoid/criteria/queryable/extensions/bignum_spec.rb

Lines changed: 0 additions & 60 deletions
This file was deleted.

spec/mongoid/criteria/queryable/extensions/fixnum_spec.rb

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)