RubyGems.org

if_blank

0.0.2

If a string is empty return the passed in parameter (or block if given)

installgem install if_blank
Authors

Brandon Hansen

3,105 total downloads 2,475 for this version
Owners

8c3ec5b8b5ea7c18019e68fb35f49a71

Gemfile
gem 'if_blank', '~> 0.0.2'
Versions
  1. 0.0.2 November 21, 2012 (6 KB)
  2. 0.0.1 November 20, 2012 (5 KB)