Class: ConClas::Utils::StringHelper

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

Class Method Summary collapse

Class Method Details

.is_empty(str) ⇒ Object



8
9
10
11
# File 'lib/conclas/utils/string_helper.rb', line 8

def self.is_empty(str)
  if str.nil? and str.strip.empty? ? true : false
  end
end