From: "David A. Black" Date: 2008-01-09T11:35:34+09:00 Subject: Re: p returning its argument? Hi -- On Wed, 9 Jan 2008, Nikolai Weibull wrote: > On Jan 9, 2008 1:14 AM, David A. Black wrote: > >> I might have missed this somewhere, but I'm wondering why p is now >> returning its argument > > To make it easy to drop in a p in a chain of methods. It's a private method, though, so it can't go in the middle of a chain, and it's also functional (i.e., p 1, rather than 1.p). I guess it could go at the beginning of a chain. I'm not sure I'm getting it, thoguh. David -- Training for 2008! Ruby on Rails training by David A. Black/Ruby Power and Light, LLC: * Intro to Rails, New York, NY, February 4-7 2008 * Advancing With Rails, New York, NY, February 11-14 2008 Hosted by Exceed Education. See http://www.rubypal.com for details!