If someone is ratty, they get angry and irritated easily. I had spent too many hours there and was beginning to get a bit ratty and fed up. = irritable
{s} infested with rats, teeming with rats; (Slang) unfair; (Slang) crummy, in bad condition (example: "He has a ratty car, looks like a wreck")