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

Strip user's input #17

Closed
ksaveljev opened this issue Jan 27, 2015 · 0 comments
Closed

Strip user's input #17

ksaveljev opened this issue Jan 27, 2015 · 0 comments

Comments

@ksaveljev
Copy link

An accidental space before or after user's input might result in an unexpected behavior (for user). That is when he/she enters " NEW" or "NEW " (there is a space before and after in those examples) it is probably expected to get a new challenge but we get

Sorry, that code resulted in an error:
uninitialized constant Rubies::Game::NEW
Sorry, that code is incorrect.
vikram7 added a commit that referenced this issue Feb 2, 2015
@vikram7 vikram7 closed this as completed Feb 2, 2015
DylanFrese pushed a commit to DylanFrese/rubies that referenced this issue Jun 10, 2015
DylanFrese pushed a commit to DylanFrese/rubies that referenced this issue Jun 10, 2015
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

No branches or pull requests

2 participants