Class: NilClass

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

Overview

class Numeric

Instance Method Summary collapse

Instance Method Details

#blank?TrueClass

Nil is always blank

nil.blank?        #=>  true

Returns:



42
43
44
# File 'lib/extlib/blank.rb', line 42

def blank?
  true
end