End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Integer#integer?
int.integer? → true
numeric.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/numeric.rb, line 184
def integer?
true
end
Since int is already an Integer, this always returns true.