Readline API doc?

I’m looking for the info on how to define/modify/basically interact
with readline keymaps from Ruby. Anyone have any pointers?

-Mark