On the instant of his departure, which I noted, a bright star or vapour leaped forth above his head (as though he had heaved up his sword), and broke all about in fire. The cocks crowed midnight through the valley, and I sat me down by the mill-wheel, chewing spearmint (though that's an herb of Venus), and calling myself all the asses' heads in the world! 'Twas plain enough now!'
This is from "A DOCTOR'S MEDICINE" by Kipling. https://ebooks.adelaide.edu.au/k/kipling/rudyard/rewards/index.html
I am glad if someone kindly teach me the meaning below
"calling myself all the asses heads in the world"
strong text