Ruby Programming Language
Input and Output Files
By Mark Ciotola
First published on August 23, 2019. Last updated on February 13, 2020.
We can use input files to either input initial values for parameters, or to import large amounts of data for processing and analysis.
We can use output files to export results into a form that can then be processed by a spreadsheet, graphing software or another program.
Common formats for output files are as raw text or Comma Separated Values (CSV) files.