class String
def blank?
-
(TrueClass, FalseClass)
-
Other tags:
- Example: " hey ho ".blank? #=> false -
Example: " ".blank? #=> true -
Example: "".blank? #=> true -
def blank? strip.empty? end
(TrueClass, FalseClass)
-
def blank? strip.empty? end