only_blank
only_blank
A tiny library for bring the awesome blank?
method to ruby.
Getting Started
Add to your Gemfile
gem 'only_blank'
Credits
Basically, this gem just a tiny wrapper around two library.
- The sequel blank extension which implement the same blank? logic as Ruby On Rails.
- fast_blank gem, which is a simple C extension which provides a fast implementation of
String#blank?
method.