From: samuel@... Date: 2016-10-11T02:22:34+00:00 Subject: [ruby-core:77546] [Ruby trunk Bug#12827] Add Boolean data type. Issue #12827 has been reported by Samuel Williams. ---------------------------------------- Bug #12827: Add Boolean data type. https://bugs.ruby-lang.org/issues/12827 * Author: Samuel Williams * Status: Open * 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: