Class: String

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

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)


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

def blank?
	nil? || empty?
end

#nonblank?Boolean

Returns:

  • (Boolean)


19
20
21
# File 'lib/apcera_api_helper.rb', line 19

def nonblank?
	!nil? && !empty?
end