NotHelpers
NotHelpers is a simple Ruby gem that provides methods to make your life just a little bit easier.
Installation
Add this line to your application's Gemfile:
gem 'not_helpers'
And then execute:
$ bundle install
Or install it yourself as:
$ gem install not_helpers
Usage
NotHelpers gives you access to the following methods.
not_nil?
not_blank?
not_empty?
not_present?
What's the difference between these four?
Contributing
I made this Gem mainly to learn how to make gems for Rails apps. If anyone has other helper methods that should be here please make a PR.
License
The gem is available as open source under the terms of the MIT License.