an implementation of a single Boolean type in Ruby