Class: FalseClass

Inherits:
Object show all
Defined in:
lib/core_ext/boolean.rb

Instance Method Summary collapse

Instance Method Details

#no?Boolean Also known as: false?

See String#no? from the core extensions. Always true here.

Returns:

  • (Boolean)


20
# File 'lib/core_ext/boolean.rb', line 20

def no? ; true ; end

#yes?Boolean Also known as: true?

See String#yes? from the core extensions. Always false here.

Returns:

  • (Boolean)


16
# File 'lib/core_ext/boolean.rb', line 16

def yes? ; false ; end