Integer(nil) and checking numericality


#1

Why does Integer(nil) return 0? Isn’t the point of Integer to assert
that the arg is actually an integer? (If we just want a best guess, we
can do ‘323aaadsfwefsd’.to_i or ‘’.to_i )/