summaryrefslogtreecommitdiff
path: root/doc/globals.rdoc
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-06-18 17:30:01 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-06-18 17:31:42 +0900
commite6aa0a61fac94f16250412b8ac80657dd9d6d572 (patch)
tree9cf1c0dc0cee5c8b77cc3686164a530c9e479bf5 /doc/globals.rdoc
parent8b3774be3dd9f472bddd99e84e3c9fe2ff99d7ac (diff)
[DOC] non-nil `$,`,`$;` will be deprecated [ci skip]
``` % ruby -e '$,=""; $;=""' -e:1: warning: non-nil $, will be deprecated -e:1: warning: non-nil $; will be deprecated ```
Diffstat (limited to 'doc/globals.rdoc')
-rw-r--r--doc/globals.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index 1e70555988..c4aacd4707 100644
--- a/doc/globals.rdoc
+++ b/doc/globals.rdoc
@@ -13,8 +13,8 @@ $~:: The information about the last match in the current scope.
$=:: This variable is no longer effective. Deprecated.
$/:: The input record separator, newline by default.
$\:: The output record separator for the print and IO#write. Default is nil.
-$,:: The output field separator for the print and Array#join.
-$;:: The default separator for String#split.
+$,:: The output field separator for the print and Array#join. Non-nil $, will be deprecated.
+$;:: The default separator for String#split. Non-nil $; will be deprecated.
$.:: The current input line number of the last file that was read.
$<:: The virtual concatenation file of the files given on command line (or from $stdin if no files were given).
$>:: The default output for print, printf. $stdout by default.