Why Is Rational31 Integer

Why is `Rational(3,1).integer?` false in ruby?