From b4faed4ec32ef4c299c7557bda9b1b7dcbc8a3e8 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Mon, 8 Dec 2014 01:18:52 -0500 Subject: [PATCH] Documentation fixes --- lib/squib/api/data.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/squib/api/data.rb b/lib/squib/api/data.rb index 91f3be5..29e3dc7 100644 --- a/lib/squib/api/data.rb +++ b/lib/squib/api/data.rb @@ -58,7 +58,7 @@ module Squib # 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. - # @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 def csv(opts = {}) opts = Squib::SYSTEM_DEFAULTS.merge(opts) @@ -90,6 +90,7 @@ module Squib Squib.xlsx(opts) end + # Convenience call on deck goes to the module function def csv(opts = {}) Squib.csv(opts) end