From: Tom Sawyer Date: 2003-01-04T05:35:30+09:00 Subject: Re: dump depth argument this is getting better all the time. tried a work around and now get: `dump': exceed depth limit (ArgumentError) on Marshal.dump(anObject, STDOUT, 2) am i not understanding this thing or is it just broke? -transami On Friday 03 January 2003 01:08 pm, Tom Sawyer wrote: > > dump( anObject [, anIO [, limit=1 ] ] ) > > > > what am i missing? > > found this: > |@encoded = [Marshal.dump(@decoded, depth)].pack("m") > | > |doesn't work, the second param needs to be type IO > > Hmm, I designed this to work. And works fine on my box. The only > limitation I can think of is depth must be a Fixnum. > > matz. > > seems that's not the only limitation. and OUCH, that stops me cold. is > there any work around? > > -transami