From 5257a530905a3ccd931577efc76ce09226ff1d06 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Fri, 17 Apr 2020 17:39:42 +0900 Subject: Removed NIL/TRUE/FALSE from documents too This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589 --- doc/globals.rdoc | 3 --- doc/syntax/literals.rdoc | 3 --- 2 files changed, 6 deletions(-) diff --git a/doc/globals.rdoc b/doc/globals.rdoc index 89b94e9a8f..1d7cda69f9 100644 --- a/doc/globals.rdoc +++ b/doc/globals.rdoc @@ -50,9 +50,6 @@ $-p:: True if option -p is set. Read-only variable. == Pre-defined global constants -TRUE:: The typical true value. Deprecated. -FALSE:: The +false+ itself. Deprecated. -NIL:: The +nil+ itself. Deprecated. STDIN:: The standard input. The default value for $stdin. STDOUT:: The standard output. The default value for $stdout. STDERR:: The standard error output. The default value for $stderr. diff --git a/doc/syntax/literals.rdoc b/doc/syntax/literals.rdoc index 38bfa38676..e58430e96f 100644 --- a/doc/syntax/literals.rdoc +++ b/doc/syntax/literals.rdoc @@ -20,9 +20,6 @@ Literals create objects you can use in your program. Literals include: +true+ is a true value. All objects except +nil+ and +false+ evaluate to a true value in conditional expressions. -(There are also the constants +TRUE+, +FALSE+ and +NIL+, but the lowercase -literal forms are preferred.) - == Numbers You can write integers of any size as follows: -- cgit v1.2.3