Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#blank?true

nil is blank:

nil.blank? # => true

Returns:

  • (true)


55
56
57
# File 'lib/core_ext/object/blank.rb', line 55

def blank?
  true
end