On Tue, Mar 11, 2008 at 11:37 AM, Todd Benson <caduceass / gmail.com> wrote: > On Tue, Mar 11, 2008 at 5:30 AM, Paul Mckibbin <pmckibbin / gmail.com> wrote: > > > > > puts "Array[#{x.inspect}] gives #{Array[x].inspect}" > > > #added this ^^^^^^ one > > > puts '============================' > > > end > > > > > > Todd > > > > Hi Todd, > > > > Array[x] is equivalent to [x]. > > Hi, > > I know that now. Just wanted to make sure. Thanks. I think in my head I was thinking of something different anyway... x = [*x] ...which behaves the same as Array(x), except for x = nil, where it behaves like [x]. Todd