Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/stormmq/utils.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


15
16
17
# File 'lib/stormmq/utils.rb', line 15

def blank?
  self.gsub(/\s+/,'') == ""
end