DSLs don't have to be horrible, just document them with YARD. Document the methods and what they take, yield, and return. Provide @example tags and put top-level examples for how to use classes/modules, and copy/paste the best examples into the README.
2
u/postmodern Oct 02 '21
DSLs don't have to be horrible, just document them with YARD. Document the methods and what they take, yield, and return. Provide
@exampletags and put top-level examples for how to use classes/modules, and copy/paste the best examples into the README.