Class: String

Inherits:
Object show all
Defined in:
lib/emissary/core_ext/blank.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/emissary/core_ext/blank.rb', line 51

def blank?
  self !~ /\S/
end