class Roo::Excelx::Extractor
Public Class Methods
new(path)
click to toggle source
# File lib/roo/excelx/extractor.rb, line 3 def initialize(path) @path = path end
Private Instance Methods
doc()
click to toggle source
# File lib/roo/excelx/extractor.rb, line 9 def doc @doc ||= if doc_exists? ::Roo::Utils.load_xml(@path).remove_namespaces! end end
doc_exists?()
click to toggle source
# File lib/roo/excelx/extractor.rb, line 16 def doc_exists? @path && File.exist?(@path) end