1
0
Fork 0
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:
Kazuhiro NISHIYAMA 2019-06-18 17:30:01 +09:00
parent 8b3774be3d
commit e6aa0a61fa
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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.