The Javuh class registry is an organized distribution of PHP classes, including an object modeling system, parsers, Internet protocols, database abstraction, additional functions, and more. Designed for use with a regular installation of PHP 4, the Javuh library features debugging code throughout which is piped through a PHP class to a UDP socket or log file. A major difference between Javuh and PEAR is Javuh's focus on extending the classes instead of using them directly.
For Ruby developers, YAML is a natural fit for object serialization and general data storage, as their semantics are similiar. YAML4R is a fully-featured YAML parser and emitter for Ruby. Use it as a drop-in replacement for PStore, or use one of its several APIs to store object data in the friendly and readable YAML style.
Good to see a Ruby article, wish there was greater depth
I see what you're trying to illustrate: how simple it is to restructure your code in Ruby. To make the code become modular. Your examples are indeed quite short. It would be nice to see an article that discussed the growth of an actual script into what is now a established library.
One *truly* good example of maintainable and scalable code is the RubyX11 (http://www.ruby-lang.org/en/raa-list.rhtml?name=RubyX11) library by matju. This library is an implementation of the X11 protocol (not Xlib) in Ruby. The author developed a set of base classes that handles the protocol (packing structs and communicating with the server). The rest of his code is all basically metadata that defines the interface classes for the user. It's the most readable code I've ever seen. I was skeptical of how Python and Ruby differed, but the advantages of Ruby became clear to me. Ruby is a practical language whose syntax and typing doesn't get in the way of allowing you to do what you need to do.
I'm also aware that in Python you can similiarly construct classes (http://www.python.org/doc/essays/metaclasses/) to appear closer to metadata. I also find Ruby's to be more natural in the context of the language. I give no strikes against Python. It's a fine language, but Ruby's so much more natural for me. Having coded sizeable projects in Perl, PHP, Python and Zope: they are all quite managable but Ruby is a breeze.