Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#blank?true

+nil+ is blank:

nil.blank? # => true

Returns:

  • (true)


54
55
56
# File 'lib/blank.rb', line 54

def blank?
  true
end