Issue #5196 has been updated by Nobuyoshi Nakada.


In common, all uppercase names are used for constants, except for classes and modules.
So True doesn't seem like an ordinary constant, and it doesn't feel nice for me.

Why there is TRUE is the historical reason.
In very early ruby, there wasn't the keyword "true", but only the constant "TRUE".
----------------------------------------
Feature #5196: true should be True.
http://redmine.ruby-lang.org/issues/5196

Author: Tomoki  Imai 
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 


Hello.I'm Tomoki Imai.

I found Ruby has inconsistency.

true is constant value.
In irb,

true = nil
(irb):5: Can't assign to true
true = nil
      ^
	from (irb):5
	from :0

We can't change value true.

In Ruby,we use capitalized name for constant value.
For example,
A = 3 .

This is why true should be True.


-- 
http://redmine.ruby-lang.org