Skip to content

Conversation

icwizardmonke
Copy link

Kernel#gets is not a method to read from stdin.

Use $stdin.gets instead

gets reads from argument input

Screenshot shows the current code fails to run because gets tries to parse argument input ARGV

image

Change to $stdin.gets solves this problem

Kernel#gets is not a method to read from stdin.

Use $stdin.gets

Signed-off-by: icwizardmonke <[email protected]>
@github-actions
Copy link

github-actions bot commented Aug 22, 2023

CLA Assistant Lite bot All Contributors have signed the CLA. If the commit check is not passing, a maintainer must go the Checks tab of this PR and rerun the GitHub Action.

@icwizardmonke
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

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.

3 participants