RubyGems Navigation menu

if_blank 0.0.2

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

Versions:

  1. 0.0.2 - November 21, 2012 (6 KB)
  2. 0.0.1 - November 20, 2012 (5 KB)

Authors:

  • Brandon Hansen

Owners:

1f185ed3dc988e7b76f84890f26752b7

Total downloads 3,463

For this version 2,669

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'if_blank', '~> 0.0.2' = Copy to clipboard Copied!

install:
gem install if_blank = Copy to clipboard Copied!

Links: