From: Dennis Decker Jensen Date: 2001-03-16T06:56:46+09:00 Subject: [ruby-talk:12698] Application Facade Example in ruby (was: refactoring ruby code) Pat Eyler wrote in [ruby-talk:12689] refactoring ruby code > To help myself learn more about Ruby, I'm starting to translate > chapter 1 of Refactoring [Fowler99] from java into ruby. Also with the purpose of learning, I'm working on Martin Fowler's Application Facade Example [1], translating it from java to ruby while trying to exploit the idioms of ruby. Along the way I'm doing test-first with RUnit (cannot wait to see Lapidary emerge from www.sourceforge.net!) I'm doing it in my little amount of spare-time. Because of this, the progress is slow (just refactored level of consciousness). I haven't saved the steps in between the refactorings and left out some of the things (like the null-object pattern...) -- but: If anybody [2] is interested, I'll happily send it to them. Regards, Dennis [1] http://www.martinfowler.com/apsupp/appfacades.pdf [2] Newbies or "looking for first impression of ruby"-people?