Skip to content

Update syntax in create_tweet.rb - #137

Open
icwizardmonke wants to merge 2 commits into
xdevplatform:mainfrom
icwizardmonke:main
Open

icwizardmonke wants to merge 2 commits into
xdevplatform:mainfrom
icwizardmonke:main

Conversation

@icwizardmonke

Copy link
Copy Markdown

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 <53415386+icwizardmonke@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 22, 2023 •

Copy link
Copy Markdown

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
Copy Markdown
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

3 participants