mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[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 ```
This commit is contained in:
parent
8b3774be3d
commit
e6aa0a61fa
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue