Skip to content
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

Following? etc methods should return false if passed nil #10

Open
weiserma opened this issue Oct 21, 2022 · 2 comments
Open

Following? etc methods should return false if passed nil #10

weiserma opened this issue Oct 21, 2022 · 2 comments

Comments

@weiserma
Copy link

Example

@bar = nil
@foo.following?(@bar) -> false
@nejdetkadir
Copy link
Owner

Example

@bar = nil
@foo.following?(@bar) -> false

Screen Shot 2022-10-23 at 15 45 20

Hey @weiserma, thanks for writing this up. It raises an error if passing nil argument.

@weiserma
Copy link
Author

Is that the intended result? IMHO Boolean functions should return true or false.

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

No branches or pull requests

2 participants