blank?()
public
A string is blank if it’s empty or contains whitespaces only:
''.blank?
' '.blank?
"\t\n\r".blank?
' blah '.blank?
Unicode whitespace is supported:
"\u00a0".blank?
@return [true, false]
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 115
def blank?
BLANK_RE === self
end