Class: FalseClass

Inherits:
Object show all
Includes:
Boolean
Defined in:
lib/boolean_class/core_ext/all.rb

Overview

Make possible instance type and class inheritance checking

Examples:

Instance type checking

false.is_a?(Boolean)  #=> true
(0==1).is_a?(Boolean) #=> true

Class type checking

FalseClass < Boolean  #=> true

See Also: