Remove mention of Proc.new with implicit block [ci skip]

This support is now deprecated and will be removed in Ruby 3.
This commit is contained in:
Jeremy Evans 2019-07-19 11:20:08 -07:00
Родитель bf2f84b2ff
Коммит 7e2677675d
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -459,10 +459,6 @@ parameter. When a block argument is assigned to a variable a Proc object is
created which holds the block. When using yield this Proc object is not
created.
If you only need to use the block sometimes you can use Proc.new to create a
proc from the block that was passed to your method. See Proc.new for further
details.
== Exception Handling
Methods have an implied exception handling block so you do not need to use