Skip to content

Conversation

@kkirsche
Copy link
Contributor

Alias all predicate methods per #133

Follow Ruby standards when returning a boolean value. This means the names of predicate methods (methods that return a boolean value) should end in a question mark. (i.e. Array#empty?).

Per:
https://github.com/styleguide/ruby
http://pragmati.st/2012/03/24/the-elements-of-ruby-style-predicate-methods/
http://raganwald.com/2013/09/12/the-predicate-module-pattern.html

Done using alias_method

@kkirsche
Copy link
Contributor Author

Passed for some failed for others due to curb. Looking at overall build_history it seems this is from other updates that were made not from this PR.

@kkirsche
Copy link
Contributor Author

Just wanted to follow up on this and see if anything else was necessary from me for this pull request or if there is an estimated timeline so I don't bug you all and follow up when it would be helpful rather than more randomly.

Thanks for all your time and assistance :)

@karmi
Copy link
Contributor

karmi commented Feb 16, 2015

Thanks for pinging me, Kevin! I got tied with something else, too tired to process it today, will look at it tomorrow morning!


UPDATE: Yeah, the Curb driver failing is something I have to look into, it happens only in CI.

@kkirsche
Copy link
Contributor Author

No worries 👍 Didn't want to bug you as I know you are busy. Let me know if any changes need to be made though and I'll be happy to make adjustments as / if necessary

karmi pushed a commit that referenced this pull request Feb 17, 2015
karmi added a commit that referenced this pull request Feb 17, 2015
Removed the extra test files, and added a test case which test the predicate method availability and idenity.

Related: #133, #134
@karmi
Copy link
Contributor

karmi commented Feb 17, 2015

I've merged the patch, Kevin, thanks! I've removed the extra test files and just added appropriate should test cases for method availability and identity.

Once again here, sorry :)

@kkirsche
Copy link
Contributor Author

No worries. I appreciate the merge and your time reviewing it.

@kkirsche kkirsche closed this Feb 17, 2015
@kkirsche kkirsche deleted the patch-2 branch September 3, 2015 00:44
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.

2 participants