Class: String

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

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

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