Changes in Libraries

 
   

Ruby Way
By Hal Fulton
Slots : 1.0
Table of Contents
 


  • The curses library has been updated. It now has new methods and constants for mouse events, character attributes, colors, and keycodes.

  • The socket library has four new methods in the Socket class: pack_sockaddr_in, unpack_sockaddr_in, pack_sockaddr_un, and unpack_sockaddr_un.

  • Also in the socket library, the TCPSocket class has two optional parameters added to the new and open class methods. The optional third and fourth parameters are the address and port for the local side.


   

 

 



The Ruby Way
The Ruby Way, Second Edition: Solutions and Techniques in Ruby Programming (2nd Edition)
ISBN: 0672328844
EAN: 2147483647
Year: 2000
Pages: 119
Authors: Hal Fulton

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net