instance

instance(data = $stdout, options = Hash.new)
Class Public methods

This method will return a CSV instance, just like ::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.

doc_ruby_on_rails
2015-04-01 21:50:42
Comments
Leave a Comment

Please login to continue.