I am not a teacher.
I apologize to payal desai if I seemed harsh. As penance, I will try to explain more fully.
There are two kinds of verb: transitive and intransitive. A transitive verb takes an object. In "the dog ate the bone", "bone" is the object of the verb "ate". An intransitive verb has no object. In "the dog ate", "ate" has no object. Not only do we not know what the dog ate, we do not care. All we want to say is that the dog consumed food.
The same verb can be either transitive and intransitive, depending on what you mean, like "to eat" above, but many verbs are always either one or the other. "To die" is intransitive (you cannot die anything). "To recognize" is transitive (you cannot simply recognize, you have to recognize something).
"Walk" is normally intransitive. We can walk "around" (adverb). We can walk "to the corner" (adverbial phrase). We can simply walk (or not, if we have broken our leg).
The "walk" you see in "walk the ramp" is transitive. There are many definitions of "walk" under the transitive rubric. We can walk the dog. We can walk a friend home. We can walk a batter in baseball. These are active---we make the object walk. But we can also walk the streets. This is somewhat different. It is we who are doing the walking.
You can think of it like there is a word missing: walk [upon] the ramp, walk [upon] the battlements. But there is no word missing, you just have to adjust your idea of the verb "to walk" to include this definition, which is plain English. It is no more strange than "run the mile" or "swim the Channel" or "go the distance" or "jump the fence".