Open icwizardmonke opened 1 year ago
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.
I have read the CLA Document and I hereby sign the CLA
Kernel#gets is not a method to read from stdin.
Use
$stdin.gets
insteadgets
reads from argument inputScreenshot shows the current code fails to run because gets tries to parse argument input ARGV
Change to
$stdin.gets
solves this problem