module ExcelUtils
Constants
- VERSION
Public Class Methods
read(filename, **options)
click to toggle source
# File lib/excel_utils.rb, line 20 def self.read(filename, **options) extension = options.fetch(:extension, File.extname(filename)[1..-1]) if extension == 'csv' Workbooks::CSV.new(filename, **options) else Workbooks::Excel.new(filename, **options) end end
write(filename, data)
click to toggle source
# File lib/excel_utils.rb, line 29 def self.write(filename, data) Writer.write filename, data end