-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add mutation from foo === bar
→ bar.kind_of?(foo)
#689
Labels
Comments
This is more a style issue, but I tend to prefer |
Sure I can make it |
backus
changed the title
Add mutation from
Add mutation from Nov 4, 2016
foo === bar
→ bar.is_a?(foo)
foo === bar
→ bar.kind_of?(foo)
dgollahon
added a commit
that referenced
this issue
Jan 2, 2021
- Closes #689 * NOTE: I have gone with `is_a?` over `kind_of?` because [this is more commonly used](https://github.com/rubocop-hq/ruby-style-guide#is-a-vs-kind-of)
dgollahon
added a commit
that referenced
this issue
Jan 2, 2021
- Closes #689 * NOTE: I have gone with `is_a?` over `kind_of?` because [this is more commonly used](https://github.com/rubocop-hq/ruby-style-guide#is-a-vs-kind-of)
dgollahon
added a commit
that referenced
this issue
Jan 2, 2021
- Closes #689 * NOTE: I have gone with `is_a?` over `kind_of?` because [this is more commonly used](https://github.com/rubocop-hq/ruby-style-guide#is-a-vs-kind-of)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Threequals might be more powerful than the use case requires
The text was updated successfully, but these errors were encountered: