Class: String

Inherits:
Object show all
Defined in:
lib/projectlocker_errata/utils/blank.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/projectlocker_errata/utils/blank.rb', line 44

def blank?
  self !~ /[^[:space:]]/
end