-----Original Message-----
From: saji.uaizu / gmail.com [mailto:saji.uaizu / gmail.com] On Behalf Of Saji Hameed
Sent: 05 April 2012 14:17
To: ruby-talk ML
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



Thanks for the pointer - I'll take a look at that.