From: shyouhei@...
Date: 2016-10-11T02:31:20+00:00
Subject: [ruby-core:77547] [Ruby trunk Bug#12827][Rejected] Add Boolean data	type.

Issue #12827 has been updated by Shyouhei Urabe.

Status changed from Open to Rejected

Do you have anything to add to https://bugs.ruby-lang.org/issues/12515 ?

----------------------------------------
Bug #12827: Add Boolean data type.
https://bugs.ruby-lang.org/issues/12827#change-60815

* Author: Samuel Williams
* Status: Rejected
* Priority: Normal
* Assignee: 
* ruby -v: 
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN
----------------------------------------
It's not clear to me why there isn't a Boolean class which can have values true and false.

There are benefits to this. An example of where this is an issue is people who write ORM. For example, in `sequel` gem, they use "TrueClass" for a boolean column.

The naming of TrueClass and FalseClass are also inconsistent with other names, e.g. it's not IntegerClass or FloatClass or StringClass.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>