Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRYed it up a bit. Replaced '-' for '_' for class names. #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mauro-oto
Copy link
Contributor

Hey @nicklink483

I opened this PR because I was having some trouble when I ran dare new game-1, which led to having a class named Game-1, which is not a valid class name. However, I'm not certain that this is a good solution, as there are plenty other cases. We should probably just edit the Readme and warn users to try to avoid special characters in the game name.

I also moved the normalized class name method to a separate method.

Please check it out, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant