Class: NilClass

Inherits:
Object show all
Defined in:
lib/epitools/core_ext/truthiness.rb,
lib/epitools/core_ext/misc.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Always 'true'; nil is considered blank.

Returns:

  • (Boolean)

85
# File 'lib/epitools/core_ext/truthiness.rb', line 85

def blank?; true; end

#present?Boolean

Returns:

  • (Boolean)

251
252
253
# File 'lib/epitools/core_ext/misc.rb', line 251

def present?
  false
end