Class: String

Inherits:
Object show all
Defined in:
lib/hope/core_ext/object.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


69
70
71
# File 'lib/hope/core_ext/object.rb', line 69

def blank?
  self !~ /\S/
end