Skip to content

Conversation

takmar
Copy link
Contributor

@takmar takmar commented Dec 14, 2023

No description provided.

@@ -143,14 +143,14 @@ def say_status(status, message, log_status = true)
stdout.flush
end

# Make a question the to user and returns true if the user replies "y" or
# Make a question to the user and returns true if the user replies "y" or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we are changing this we can improve the sentences a bot as well:

Suggested change
# Make a question to the user and returns true if the user replies "y" or
# Asks the user a question and returns true if the user replies "y" or

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your review! I fixed it.

# "yes".
#
def yes?(statement, color = nil)
!!(ask(statement, color, add_to_history: false) =~ is?(:yes))
end

# Make a question the to user and returns true if the user replies "n" or
# Make a question to the user and returns true if the user replies "n" or
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Make a question to the user and returns true if the user replies "n" or
# Asks the user a question and returns true if the user replies "n" or

@rafaelfranca rafaelfranca merged commit 446a6bd into rails:main Feb 26, 2024
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