From: Duane Johnson <duane.john...@gmail.com>
Date: Mon, 1 Jan 2007 09:43:04 -0700
Local: Mon, Jan 1 2007 11:43 am
Subject: Re: [Rails] Re: .each { |m| delegate m, :to => :published_at }
Thanks, Tom, that's really handy.
I was wondering where this 'delegate' method is defined, so I looked Available here, if anyone else is interested: Duane Johnson On Jan 1, 2007, at 12:52 AM, Tom Fakes wrote: > This is the quick way of writing the following: > def year > def year=(y) > # Same for month and day > The 'delegate' method allows you to delegate a member access to a You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||