Etymology
Today it means: In a ratty manner. Full definition →
From ratty + -ly.
Etymology from Wiktionary, CC BY-SA 4.0.