Class: Object

Inherits:
BasicObject
Defined in:
lib/assistance/blank.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/assistance/blank.rb', line 2

def blank?
  nil? || (respond_to?(:empty?) && empty?)
end