Module: EmailVeracity::Utils

Defined in:
lib/email_veracity/utils.rb

Class Method Summary collapse

Class Method Details

.blank?(obj) ⇒ Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/email_veracity/utils.rb', line 4

def blank?(obj)
  obj.respond_to?(:empty?) ? obj.empty? : !obj
end