Skip to content

Added to_nil?#4

Open
rikkus wants to merge 3 commits intomrThe:masterfrom
rikkus:master
Open

Added to_nil?#4
rikkus wants to merge 3 commits intomrThe:masterfrom
rikkus:master

Conversation

@rikkus
Copy link
Copy Markdown

@rikkus rikkus commented Apr 1, 2015

Added a method to_nil? which only converts to nil if needed. Optimised, of course.

Rik Hemsley added 3 commits April 1, 2015 15:35
to_nil? returns nil if self is already nil, or nil if it isn't.
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.

1 participant