README.md in null_question-1.0.0 vs README.md in null_question-1.0.1

- old
+ new

@@ -1,34 +1,31 @@ -# Object#null? [![[version]](https://badge.fury.io/rb/null_question.svg)](http://badge.fury.io/rb/null_question) [![[travis]](https://travis-ci.org/janlelis/null_question.png)](https://travis-ci.org/janlelis/null_question) +# Object#null? [![[version]](https://badge.fury.io/rb/null_question.svg)](https://badge.fury.io/rb/null_question) [![[ci]](https://github.com/janlelis/null_question/workflows/Test/badge.svg)](https://github.com/janlelis/null_question/actions?query=workflow%3ATest) -Adds NilClass#null? #=> true and Object#null? #=> false +Adds `NilClass#null? #=> true` and `Object#null? #=> false` -Useful for implementing custom null objects that also return true for `#null?` +Useful for implementing custom null objects that will also return true for `#null?` - ## Setup -Add to your `Gemfile`: +Add to your **Gemfile**: ```ruby gem 'null_question' ``` - ## Usage ```ruby class NullObject def null? - true + true end end nil.null? #=> true NullObject.new.null? #=> true Object.new.null? #=> false ``` - ## J-_-L -Copyright (C) 2015 Jan Lelis <http://janlelis.com>. Released under the MIT license. +Copyright (C) 2015 Jan Lelis <https://janlelis.com>. Released under the MIT license.