class String
Extensions to the core String class
def blank?
-
(Boolean)
- true is the string is blank, false otherwise
def blank? empty? || lstrip.empty? end
Extensions to the core String class
(Boolean)
- true is the string is blank, false otherwise
def blank? empty? || lstrip.empty? end