From e6aa0a61fac94f16250412b8ac80657dd9d6d572 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Tue, 18 Jun 2019 17:30:01 +0900 Subject: [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 ``` --- doc/globals.rdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3