class String

def blank?

Returns:
  • (TrueClass, FalseClass) -

Other tags:
    Example: " hey ho ".blank? #=> false -
    Example: " ".blank? #=> true -
    Example: "".blank? #=> true -
def blank?
  strip.empty?
end