Class: String

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

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

see if string has any content

Returns:

  • (Boolean)


4
# File 'lib/compass/core_ext.rb', line 4

def blank?; self.length.zero?; end