Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/unified2/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


3
4
5
6
# File 'lib/unified2/core_ext/string.rb', line 3

def blank?
  return true if (self.nil? || self == '')
  false
end