But constant doesn't mean you can't change it in Ruby... keywords are basic=
ally the only thing you can't change. And most of those are not capitalized=
.
`true` is a literal, just like `nil` or `250`. You can't change those eithe=
r.

Ease of use and conventions always outweigh consistency and simplicity in R=
uby.

Konstantin

On Aug 16, 2011, at 19:28 , Tomoki Imai wrote:

>=20
> Issue #5196 has been reported by Tomoki  Imai .
>=20
> ----------------------------------------
> Bug #5196: true should be True.
> http://redmine.ruby-lang.org/issues/5196
>=20
> Author: Tomoki  Imai=20
> Status: Open
> Priority: Normal
> Assignee:=20
> Category: core
> Target version:=20
> ruby -v: ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]=20
>=20
>=20
> Hello.I'm Tomoki Imai.
>=20
> I found Ruby has inconsistency.
>=20
> true is constant value.
> In irb,
>=20
> true =3D nil
> (irb):5: Can't assign to true
> true =3D nil
>      ^
> 	from (irb):5
> 	from :0
>=20
> We can't change value true.
>=20
> In Ruby,we use capitalized name for constant value.
> For example,
> A =3D 3 .
>=20
> This is why true should be True.
>=20
>=20
> --=20
> http://redmine.ruby-lang.org
>=20