tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

Add ripper DSL

Open kddnewton opened this issue 11 months ago • 0 comments

Motivation

This doesn't quite fit in to the normal idea of a DSL, but I think it fits best here. Basically, because ripper isn't a normal gem and doesn't have a version, there's not a great way to generate static RBIs for it, because it depends on your current version of Ruby.

If this doesn't belong here and can go elsewhere, let me know.

Implementation

Loop over the defined constants at runtime, generate the definitions.

Tests

I included tests.

kddnewton avatar Mar 14 '24 14:03 kddnewton