123456789_123456789_123456789_123456789_123456789_

Class: FalseClass

Relationships & Source Files
Inherits: Object
Defined in: object.c,
object.c

Overview

The global value false is the only instance of class FalseClass and represents a logically false value in boolean expressions. The class provides operators allowing false to participate correctly in logical expressions.

Instance Method Summary

Instance Method Details

#&(object) ⇒ false #&(object) ⇒ false

Alias for NilClass#&.

#===

[ GitHub ]

#^

[ GitHub ]

#to_s ⇒ "false" #inspect ⇒ "false"

Alias for #to_s.

#to_s ⇒ "false" Also known as: #inspect

The string representation of false is “false”.

[ GitHub ]

  
# File 'object.c', line 1574

VALUE
rb_false_to_s(VALUE obj)
{
    return rb_cFalseClass_to_s;
}

#|

[ GitHub ]