Documentation fixes

dev
Andy Meneely 2014-12-08 01:18:52 -05:00
parent c29f324510
commit b4faed4ec3
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module Squib
# http://www.ruby-doc.org/stdlib-2.0/libdoc/csv/rdoc/CSV.html # http://www.ruby-doc.org/stdlib-2.0/libdoc/csv/rdoc/CSV.html
# #
# @option opts file [String] the CSV-formatted file to open. Opens relative to the current directory. # @option opts file [String] the CSV-formatted file to open. Opens relative to the current directory.
# @return [Hash] a hash of arrays based on columns in the spreadsheet # @return [Hash] a hash of arrays based on columns in the table
# @api public # @api public
def csv(opts = {}) def csv(opts = {})
opts = Squib::SYSTEM_DEFAULTS.merge(opts) opts = Squib::SYSTEM_DEFAULTS.merge(opts)
@ -90,6 +90,7 @@ module Squib
Squib.xlsx(opts) Squib.xlsx(opts)
end end
# Convenience call on deck goes to the module function
def csv(opts = {}) def csv(opts = {})
Squib.csv(opts) Squib.csv(opts)
end end