[ruby-cvs:74113] eregon:r67009 (trunk): Pass the Array from select() to Socket.udp_server_recv

eregon at ruby-lang.org eregon at ruby-lang.org
Tue Feb 5 18:50:11 JST 2019


eregon	2019-02-05 18:50:11 +0900 (Tue, 05 Feb 2019)

  New Revision: 67009

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

  Log:
    Pass the Array from select() to Socket.udp_server_recv
    
    * As mentioned in the documentation.
    * Use Array#size instead of #count, it's more common.
    * Use :unset, it clarifies things if the specs fails.

  Modified files:
    trunk/spec/ruby/library/socket/socket/udp_server_recv_spec.rb


More information about the ruby-cvs mailing list