Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

def blank?
  self !~ /\S/
end