The Dewalt nailer won't mar the wood as the pneumatic ones will and that is a plus. I don't know about Ryobi battery powered nailers.
Daughter bought a Ryobi for her craft use. We used it for crown molding and baseboards, when we redone kitchen and living area, last month. It does a fantastic job. Much better than trying to hold up trim, position nail and hammer, at the same time. Also have Ryobi drill and multi-colored.
I am doomed.