= private = protected
blank?()
A string is blank if it’s empty or contains whitespaces only:
"".blank? # => true " ".blank? # => true " something here ".blank? # => false
# File activesupport/lib/active_support/core_ext/object/blank.rb, line 95 def blank? self !~ /\S/ end