There's no way any of the other tasks are going to be that dangerous, how could they be?” Ron went on as he carried Pigwidgeon to the window. “You know what? I reckon you could win this tournament, Harry, I'm serious.”
Harry knew that Ron was only saying this to make up for his behavior of the last few weeks, but he appreciated it all the same. Hermione, however, leaned against the Owlery wall, folded her arms, and frowned at Ron.
“Harry's got a long way to go before he finishes this tournament,” she said seriously. “If that was the first task, I hate to think what's coming next.”
“Right little ray of sunshine, aren't you?” said Ron. “You and Professor Trelawney should get together sometime.”
I don't fully understand the phrase "Right little ray of sunshine" here. From dictionaries, I can get the meaning of "a ray of sunshine" (a person or thing that makes somebody’s life happier), but I don't quite get "right little". Does it mean "just small" or something? What does the whole phrase mean exactly?