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,404 total downloads 2,637 for this version
Owners

1f185ed3dc988e7b76f84890f26752b7

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)