As the title says, I'm getting confused about the difference between blocks and "normal" pieces of code that follow a statement.
I usually enclose the body of a while loop in Ruby with do...end, e.g.
while true do
# ...
end
But is it a block? If yes, why? If no, why is it declared as we declare blocks with methods?