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)


178
179
180
# File 'lib/epitools/core_ext/misc.rb', line 178

def present?
  false
end