Sha256: 7bef261838cbd034023de588e06076ae64d42c667c1f0660c20759425433c123
Contents?: true
Size: 630 Bytes
Versions: 5
Compression:
Stored size: 630 Bytes
Contents
require 'roo/constants' require 'roo/errors' require 'roo/spreadsheet' require 'roo/base' module Roo autoload :OpenOffice, 'roo/open_office' autoload :LibreOffice, 'roo/libre_office' autoload :Excelx, 'roo/excelx' autoload :CSV, 'roo/csv' CLASS_FOR_EXTENSION = { ods: Roo::OpenOffice, xlsx: Roo::Excelx, xlsm: Roo::Excelx, csv: Roo::CSV } def self.const_missing(const_name) case const_name when :Excel raise ROO_EXCEL_NOTICE when :Excel2003XML raise ROO_EXCELML_NOTICE when :Google raise ROO_GOOGLE_NOTICE else super end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
roo-2.4.0 | lib/roo.rb |
roo-2.3.2 | lib/roo.rb |
roo-2.3.1 | lib/roo.rb |
roo-2.3.0 | lib/roo.rb |
roo-2.2.0 | lib/roo.rb |