class Object
:nodoc:
def blank?
- Example: [nil].blank? #=> false -
Example: [1].blank? #=> false -
Example: [].blank? #=> true -
Returns:
-
(TrueClass, FalseClass)
-
def blank? nil? || (respond_to?(:empty?) && empty?) end
:nodoc:
(TrueClass, FalseClass)
-
def blank? nil? || (respond_to?(:empty?) && empty?) end