-
-
Notifications
You must be signed in to change notification settings - Fork 66
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
Rename predicate #respond_to into #responds_to #95
Conversation
How about |
I am not very familiar with dry gems yet. But i'll look deeply and will add code that ensures successful behaviour with |
@solnic Do you mean to suggest using It might work (especially it it's going to accept multiple arguments). |
IMO, this only adds confusion. The ruby convention uses the infinitive form ( |
I'd be OK with either |
I'm following the precedent made by dry-logic/lib/dry/logic/predicates.rb Lines 184 to 192 in 9e6d776
I don't have a strong opinion (anything would be better than the status quo), but someone might mistake |
Ah yeah, I guess |
At this point (two years later), I'd say any choice is good enough. As long as it's a change. :-) Though I guess this particular PR might limit itself to adding a new predicate (in a minor version), for you to remove the obsolete one in the new major (?) version. |
I'm gonna go with |
Closing after all as this was done via #99 |
PR for issue 73