class String

String monkeypatches

Public Instance Methods

blank?() click to toggle source

Blank?

@return [true, false] If the string is blank or empty return true.

# File lib/unified2/core_ext/string.rb, line 12
def blank?
  return true if (self.nil? || self == '')
  false
end