summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-04-17 17:39:42 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-04-17 17:40:57 +0900
commit5257a530905a3ccd931577efc76ce09226ff1d06 (patch)
tree530ee4392e3c46fd1d223cbed1856ca38686145a
parent62554ca97812b454e78a0a9daf6e962ff7a2f589 (diff)
Removed NIL/TRUE/FALSE from documents too
This is follow up of 62554ca97812b454e78a0a9daf6e962ff7a2f589
-rw-r--r--doc/globals.rdoc3
-rw-r--r--doc/syntax/literals.rdoc3
2 files changed, 0 insertions, 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 <tt>-p</tt> 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: