Object
Returns true if invoked on ‘NilClass` instance.
true
nil.blank? #=> true
# File core_extensions/nil_class.rb, line 9 def blank? true end
Returns false if invoked on NilClass instance.
false
NilClass
nil.to_b #=> false
# File core_extensions/nil_class.rb, line 18 def to_b false end