Sha256: 2c177f95476178e6dcae2fe3a0cee1b142c3b630ad6422c68bf721f144372fc2
Contents?: true
Size: 361 Bytes
Versions: 3
Compression:
Stored size: 361 Bytes
Contents
module Roo class Excelx class Extractor def initialize(path) @path = path end private def doc raise FileNotFound, "#{@path} file not found" unless doc_exists? ::Roo::Utils.load_xml(@path).remove_namespaces! end def doc_exists? @path && File.exist?(@path) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
roo-2.7.1 | lib/roo/excelx/extractor.rb |
roo-2.7.0 | lib/roo/excelx/extractor.rb |
roo-2.6.0 | lib/roo/excelx/extractor.rb |