Subject: Re: returning p array
From: rtilley <rtilley vt.edu>
Date: Thu, 16 Mar 2006 02:08:46 +0900
References: 184285184287
In-reply-to: 184287
Pierre Barbier de Reuille wrote:
> "p" just uses the "inspect" method. Thus you can do that :
>
> def info
> # create an array
> p array
> array.inspect
> end
>
> Pierre
Thank you Pierre and Robert. That is exactly what I wanted to do.
Brad