From: Tobias Reif Date: 2001-07-16T21:51:05+09:00 Subject: [ruby-talk:17918] code optimization (DTD: parameter entity expander) Hi all; I'm writing a class that expands parameter entities in DTDs, for better readability. It works so far, but while I need to add support for some XML features, and better error handling, I would like to get the Ruby code reviewed: how can it be made more efficient, fast, concise, clear, simple, and easy to understand? I'm still very new to programming, and to Ruby, so I would like to find out how to use the features most appropriately. Files: http://www.pinkjuice.com/temp/ruby/ (view with NN or download) current usage: ruby expand.rb test02.dtd ruby expand.rb svg.dtd Thanks, Tobi -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.htm -- Tobias Reif http://www.pinkjuice.com/myDigitalProfile.htm