Subject: Re: (mis)?use of method_missing
From: Ben Stephens <foolfodder gmail.com>
Date: Tue, 2 Aug 2005 16:52:53 +0900
References: 150305150307
In-reply-to: 150307
Thanks Daniel, that should simplify some of my code.
> Another option, add the "days_from_now" method to Numeric, so you can
> write:
>
> 6.days_from_now
> 345.days_from_now
>
> - Jamis
Ooh, I like that, thanks.
Ben