class String

Public Instance Methods

blank?() click to toggle source

Strips out whitespace then tests if the string is empty.

# File lib/carrierwave/core_ext/blank.rb, line 41
def blank?
  strip.empty?
end