Actions
Feature #10175
openThere’s no reason to prefer Proc.new over Kernel#proc anymore
Status:
Open
Assignee:
-
Target version:
-
Description
We could’t use Kernel#proc
if someone wanted to write code in the same way on both Ruby 1.8 and Ruby 1.9.
Now that maintenance of Ruby versions 1.8 end, there’s no reason to prefer Proc.new
over Kernel#proc
anymore.
https://www.ruby-lang.org/en/news/2014/07/01/eol-for-1-8-7-and-1-9-2/
I have fixed some coding style on the way
Files
Actions
Like0
Like0