From: Jamis Buck Date: 2005-08-02T04:11:43+09:00 Subject: Re: (mis)?use of method_missing On Aug 1, 2005, at 1:03 PM, Ben Stephens wrote: > I've added a method_missing method to a Day class so that > Day.six_days_from_now > can be written as well as > Day.days_from_now(6) > > Is this stupid? > > It seemed like a good idea at the time, but now I'm dubious about the > benefits especially when you could write > Day.three_hundred_and_forty_five_days_from_now Another option, add the "days_from_now" method to Numeric, so you can write: 6.days_from_now 345.days_from_now - Jamis