We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using a word array for a question mark, a false positive report of a character literal happens.
arr = %w{? A}
gives
question_in_word_array.rb:1:10: C: Do not use the character literal - use string literal instead. arr = %w{? A} ^
The text was updated successfully, but these errors were encountered:
f87820f
No branches or pull requests
When using a word array for a question mark, a false positive report of a character literal happens.
gives
The text was updated successfully, but these errors were encountered: