Module: Falsiness
- Included in:
- FalseClass, NilClass, NullClass
- Defined in:
- lib/null.rb
Overview
Make falsy things tell you so.
Instance Method Summary collapse
-
#! ⇒ Object
:nodoc:.
-
#falsy? ⇒ Boolean
:nodoc:.
-
#truthy? ⇒ Boolean
:nodoc:.
Instance Method Details
#falsy? ⇒ Boolean
:nodoc:
42 43 44 |
# File 'lib/null.rb', line 42 def falsy? # :nodoc: true end |
#truthy? ⇒ Boolean
:nodoc:
38 39 40 |
# File 'lib/null.rb', line 38 def truthy? # :nodoc: false end |