That's what I thought you might be thinking, because the context was missing. Having started without seeing the theorem in front of you, I think you misinterpreted what the proof is saying.
It is not just saying, "Suppose b/a is any real number, then ..."; it is saying, "Given that a and b are integers, b/a is a real number (that is, not necessarily an integer, but not implying it can be any real number), so we can suppose ...". I think the only reason they use the word "real" is that they are about to make statements that apply to a larger set than the integers; they are warning the reader to take off their "integer glasses".
They could have said "rational", but that is not the point they want to make. What immediately follows can be said of any real number, based on axioms for the real numbers. What is said subsequently is conditioned on the fact that a and b (and q and r) are integers.
I think they were being careful. The OP was not careful to include the context, which provides the basis for what is said here, and without which it might be confusing.