Class: NilClass
Instance Method Summary collapse
-
#no? ⇒ Boolean
(also: #false?)
See String#no? from the core extensions.
-
#yes? ⇒ Boolean
(also: #true?)
See String#yes? from the core extensions.
Instance Method Details
#no? ⇒ Boolean Also known as: false?
See String#no? from the core extensions. Always true here
8 |
# File 'lib/core_ext/nil_class.rb', line 8 def no? ; true ; end |
#yes? ⇒ Boolean Also known as: true?
See String#yes? from the core extensions. Always false here
4 |
# File 'lib/core_ext/nil_class.rb', line 4 def yes? ; false ; end |