class String

Public Instance Methods

blank?() click to toggle source

Strings are blank if they are empty or include only whitespace

# File lib/blank.rb, line 49
def blank?
  strip.empty?
end