Class: NilClass
- Inherits:
-
Object
- Object
- NilClass
- Defined in:
- lib/buildpack_support/to_b.rb
Overview
A mixin that adds the ability to turn a nil
into a boolean
Instance Method Summary collapse
-
#to_b ⇒ Boolean
Converts a
nil
to a boolean.
Instance Method Details
#to_b ⇒ Boolean
Converts a nil
to a boolean
34 35 36 |
# File 'lib/buildpack_support/to_b.rb', line 34 def to_b false end |