Actions
Feature #10175
openThere’s no reason to prefer Proc.new over Kernel#proc anymore
    Feature #10175:
    There’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
        
          
          Updated by gogotanaka (Kazuki Tanaka) almost 11 years ago
          
          
        
        
      
      Hi, I just wanna check there is any problems? if so please feel free to ask me.
I'm totally OK you think my propose is improper and make it rejected.
note: I'm not in a hurry. take your time :)
Actions