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

Update syntax in create_tweet.rb #137

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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

None yet

3 participants