Class: String

Inherits:
Object show all
Defined in:
lib/gems/tmail-1.2.3.1/lib/tmail/core_extensions.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/gems/tmail-1.2.3.1/lib/tmail/core_extensions.rb', line 52

def blank?
  empty? || strip.empty?
end