diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/globals.rdoc | 3 | ||||
-rw-r--r-- | doc/syntax/literals.rdoc | 3 |
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: |