Closed derolf closed 2 years ago
You mean to write a private function and it'd generate a public class?
Exactly.
It's an interesting idea. But then, how would peoples generate private classes?
With two underscores 😂
What about making it an option you can pass? (Remove leading underscore)
Sent with GitHawk
The generated class name is now the function name, with the first _
removed
So:
This should cover this use-case
It would be nice to decorate _example and generate Example so that users don't refer to _example by accident.