Hi,
In message "[ruby-talk:6664] Re: printing/accessing arrays and hashes"
on 00/11/30, Raja S. <raja / cs.indiana.edu> writes:
|
|Thanks to all for the pointer to #inspect and the behavior of #join in Ruby.
My short comment. 'inspect' is for human readable representation. So
it doesn't work for long strings. Try:
p "foo"*200
Probably we have to have either
(a) `inspect' like method without length limit, which probably gives
eval reproducing string.
(b) removing length limit from String#inspect.
matz.