From: Saji Hameed Date: 2012-04-05T22:17:05+09:00 Subject: Re: Design pattern question Hi, > I wonder whether you could give me any advice on how to structure some code? > Its pretty simple really. I want to be able to call an API like this: > SourceControl.checkout > > SourceControl.update Maybe this one gives some good pointers.. http://blog.jayfields.com/2008/02/ruby-replace-methodmissing-with-dynamic.html hope it helps, saji -- Saji N Hameed, ARC-ENV, Center for Advanced Information Science and Technology, University of Aizu, Tsuruga, Ikki-machi, Aizuwakamatsu-shi, Fukushima 965-8580, Japan Tel: +81242 37-2736 Fax:+81242 37-2760  email: saji@u-aizu.ac.jp  url: http://www.u-aizu.ac.jp  bib: http://www.researcherid.com/rid/B-9188-2009