save_db()¶
- save_db(filename)¶
Saves the current
$dband$pjvariables to a file. If the filename ends with.csv,save_db()saves the data as a.csvfile. Otherwise, it saves it as.opf.Parameter
Type
Description
filenameString or Ruby object
The full path to save the Datavyu file to
Returns
Nothing.
Example
The following example saves the current spreadsheet open in the GUI to a file called
test.opfthat is located on the Desktop.require 'Datavyu_API.rb' begin save_db("~/Desktop/test.opf") end
