Class: NilClass

Inherits:
Object show all
Defined in:
lib/extensions/class-extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_boolObject

We still need to pass on nil, meaning: no value



67
68
69
# File 'lib/extensions/class-extensions.rb', line 67

def to_bool
  self
end