lib/flydata/source/generate_source_dump.rb in flydata-0.6.11 vs lib/flydata/source/generate_source_dump.rb in flydata-0.6.12
- old
+ new
@@ -53,11 +53,12 @@
# Public Interface: Dump data
#
# tables: An array of tables to be dumped.
# file_path: A file path string of the dump file to which data is written.
- # This value may be nil, in which case contents are written to a
- # pipe.
+ # This value may be nil, in which case contents are written to
+ # a pipe to which the caller can access via `io` passed in the
+ # callback.
# src_pos_callback: A callback called when the source position of the dump
# becomes available. The callback takes the following arguments.
# io: Input IO to the dump.
# src_pos: Source position of the dump
#