[ruby-cvs:65492] normal:r58320 (trunk): Socket.udp_server_sockets: use symbol proc

normal at ruby-lang.org normal at ruby-lang.org
Tue Apr 11 23:56:17 JST 2017


normal	2017-04-11 23:56:17 +0900 (Tue, 11 Apr 2017)

  New Revision: 58320

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58320

  Log:
    Socket.udp_server_sockets: use symbol proc
    
    Symbol proc is shorter human and machine code;
    and also avoids needing to name variables.
    
    * ext/socket/lib/socket.rb (Socket.udp_server_sockets): use symbol proc

  Modified files:
    trunk/ext/socket/lib/socket.rb


More information about the ruby-cvs mailing list