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:
47 48 49 |
# File 'lib/null.rb', line 47 def falsy? # :nodoc: true end |
#truthy? ⇒ Boolean
:nodoc:
43 44 45 |
# File 'lib/null.rb', line 43 def truthy? # :nodoc: false end |