From: Dave@... Date: 2002-10-15T03:24:54+09:00 Subject: Ruby Weekly News Ruby Weekly News: 10/14/2002 A summary of activity on the ruby-talk mailing list, brought to you this week by Holden Glova. ANNOUNCEMENTS ============= XMLscan 0.1.1 UENO Katsuhiro has released a new version of XMLscan. XMLscan is a non-validating XML parser written in 100% pure Ruby. Get XMLscan([1]). Coco/Rb LL(1) Mark Robert has released Coco/Rb. Coco/Rb generates recursive descent parsers and their associated scanners from LL(1) attributed grammars. Get Coco/Rb([2]). YAML 0.44 "why the lucky stiff" has released a new version of YAML for Ruby. YAML([3]) is a text format for storing objects in a human readable fasion. Get YAML for Ruby([4]). RDE 0.9.8.0 Sakazuki has released a new version of RDE. RDE is a Ruby development environment for the Windows platform. Get RDE([5]). INTERESTING THREADS =================== Default Hash Behaviour Ever been confused about the default behaviour of Hash. Some discussion on nice ways to provide default behaviour for Hash in this thread, check it out. Solutions apply to both 1.6 and 1.7. Polymorphism, isomorphism The idea was put forward if it would be useful to be able to ask an object if it implements a list of methods. This way you could ask a class if it implements some sort of interface that you are expecting. Sorting an Array of Hashes How to sort an Array of Hashes? Several solutions came forward for both 1.6 and 1.7. Start here if you have this need and are stumped. References 1. http://www.blue.sky.or.jp/atelier/ruby/xmlscan/xmlscan-0.1.1.tar.gz 2. http://www3.sympatico.ca/mark.probert/work/ruby.html 3. http://www.yaml.org/ 4. http://yaml4r.sf.net/ 5. http://homepage2.nifty.com/sakazuki/rde_e.html