Currency Devaluation

In reading 10 when discussing the Greek currency devaluation, the author writes that a currency devaluation, yields in the devaluing currency drop sharply as the currency risk premium collapses creating large capital gains in long-term bonds. What is the logic behind yields dropping if a currency is devalued?