Class: NilClass

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

Overview

Instance Method Summary collapse

Instance Method Details

#blank?true, false

Used to determine if the object is blank? || empty? Note: If a nil value is specified it should always be blank? || empty?

Returns:

  • (true, false)


31
32
33
# File 'lib/sailpoint/helpers.rb', line 31

def blank?
  true
end

#present?true, false

Used to determine if the object is not nil

Returns:

  • (true, false)


37
38
39
# File 'lib/sailpoint/helpers.rb', line 37

def present?
  !blank?
end