From: Dossy Date: 2003-01-04T04:05:34+09:00 Subject: Re: dump depth argument On 2003.01.04, Tom Sawyer wrote: > > Marshal.dump(obj) # okay > > Marshal.dump(obj, 2) # IO object missing error > > Marshal.dump(obj, ?, 2) # what's ? for deafult behavior > $ ri Marshal#dump ---------------------------------------------------------- Marshal::dump dump( anObject [, anIO] , limit=--1 ) -> anIO ------------------------------------------------------------------------ Serializes anObject and all descendent objects. If anIO is specified, the serialized data will be written to it, otherwise the data will be returned as a String. If limit is specified, the traversal of subobjects will be limited to that depth. If limit is negative, no checking of depth will be performed. [...] -- Dossy -- Dossy Shiobara mail: dossy@panoptic.com Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70)