Class: String

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

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


47
48
49
# File 'lib/airake/core_ext/blank.rb', line 47

def blank?
  empty? || strip.empty?
end