contestada

In this excerpt of “The Highwayman” by Alfred Noyes, which sound device does the second line contain?

The wind was a torrent of darkness among the gusty trees.
The moon was a ghostly galleon tossed upon cloudy seas.
The road was a ribbon of moonlight over the purple moor,
And the highwayman came riding—
Riding—riding—
The highwayman came riding, up to the old inn-door.

A.) consonance
B.) alliteration
C.) onomatopoeia
D.) assonance