scarpe-team / scarpe

Scarpe - shoes but running on webview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event registration

noahgibbs opened this issue · comments

It would be helpful for documentation and verification if Shoes events had to be registered, maybe with the DisplayService object, instead of allowing freeform events of all kinds.

That would prevent typo event names from being undetected no-ops. It would also give us a good place to document the events, since we could make it a class-level call with YARD tags to create a docs entry (see: https://rubydoc.info/gems/yard/file/docs/Tags.md).