On Jan 15, 2008, at 11:14 PM, Ryan Lewis wrote:
>
> Now, why doesn't the inspect method return as an array?
It does. Try
myusr.inspect.class
The problem is that IRB has to write that object to stdout so
Array#to_s gets called on the array returned by inspect.
It is probably a bad idea to break the convention that inspect
returns a string.
Gary Wright