Class: NilClass

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

Instance Method Summary collapse

Instance Method Details

#blank?true

nil is blank:

nil.blank? # => true

Returns:

  • (true)


55
56
57
# File 'lib/reading/util/blank.rb', line 55

def blank?
  true
end