Ruby latest stable (v1_9_3_392) - 0 notes - Class: CSV
instance(data = $stdout, options = Hash.new) public

This method will return a CSV instance, just like CSV::new(), but the instance will be cached and returned for all future calls to this method for the same data object (tested by Object#object_id()) with the same options.

If a block is given, the instance is passed to the block and the return value becomes the return value of the block.

Show source
Register or log in to add new notes.