From: Nit Khair Date: 2008-10-23T00:06:20+09:00 Subject: Re: What exactly does "rubyish" or "ruby way" mean? Thanks a lot for all the tips. Let's say I am writing base classes or a library to be used by others. I am wondering that there must be things ruby provides that give a simpler or more elegant interface to the users. Blocks was an example i gave earlier. Yielding values in a loop was an example. I am beginning to understand yielding self or just yield, too. Perhaps one could give an example of Modules as in the Enumerable module. If your class defines an "each" (iirc) then you automatically get many methods for free. Maybe the correct approach for me is to compare how a library is implemented in another language (or non ruby way) versus a good ruby implementation. e,g, 1. compare getoptlong to optparse 2. compare sqlite wrapper in java vs ruby ? -- Posted via http://www.ruby-forum.com/.