Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


68
69
70
# File 'lib/jenkins/core_ext/object/blank.rb', line 68

def blank?
  self !~ /\S/
end