[前][次][番号順一覧][スレッド一覧]

ruby-changes:56548

From: Kazuhiro <ko1@a...>
Date: Mon, 15 Jul 2019 13:59:43 +0900 (JST)
Subject: [ruby-changes:56548] Kazuhiro NISHIYAMA: 62f34bd1fe (master): doc/globals.rdoc: Add deprecated to TRUE, FALSE, NIL [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=62f34bd1fe

From 62f34bd1fe9630b0e760860017955cec2d5fbd0a Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Mon, 15 Jul 2019 13:57:43 +0900
Subject: doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]

They are warned since 2.4.0.

diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index d3c3553..146b7fc 100644
--- a/doc/globals.rdoc
+++ b/doc/globals.rdoc
@@ -50,9 +50,9 @@ $-p::  True if option -p is set. Read-only variable. https://github.com/ruby/ruby/blob/trunk/doc/globals.rdoc#L50
 
 == Pre-defined global constants
 
-TRUE::              The typical true value.
-FALSE::             The +false+ itself.
-NIL::               The +nil+ itself.
+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.
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]