Very small gem that adds if_nil(&block) and if_not_nil(&block) methods (mimicking Smalltalk's ifNil: and ifNotNil:) to ruby.
Tom Leuse
MIT