-
Couldn't load subscription status.
- Fork 62
use .null? to test NULL pointer returns
#420
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
Conversation
we were using `.nil?` in a couple of cases see #419 thanks dloebl
@dloebl I added your coffee GIF to the samples, I hope that's OK.
If anyone could double-check that I got all the possible null pointers, that'd be great.
dloebl
commented
Jul 17, 2025
I added your coffee GIF to the samples, I hope that's OK.
Thanks! That's fine. It's a public domain (CC0) image I got from here and altered some bytes to make it invalid: https://pixabay.com/gifs/coffee-cup-mug-pixel-art-steam-19613
If anyone could double-check that I got all the possible null pointers, that'd be great.
Looks good to me! I've searched through the code as well and wasn't able to find other instances
\o/ thanks for the review!
we were using
.nil?in a couple of casessee #419
thanks dloebl