docopt.cr
docopt.cr copied to clipboard
Use delegate instead of inheriting Array(String)
Having Tokens inherit Array(String) was breaking unrelated code because of https://github.com/crystal-lang/crystal/issues/11734
This PR removes the inheritance and replaces it with composition and usage of the delegate macro
Is there a way to get this merged? It's harmless and prevents very obscure bugs :-)
It would need a tweak in the README that now has my URL but other than that it does nothing weird.