You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
docuseal/vendor/bundle/ruby/4.0.0/gems/rubyXL-3.4.35/lib/rubyXL.rb

13 lines
299 B

require 'rubyXL/objects/root'
require 'rubyXL/parser'
module RubyXL
@@suppress_warnings = false
# Convert any path passed to absolute path (within the XLSX file).
def self.from_root(path)
return path unless path.absolute?
path.relative_path_from(OOXMLTopLevelObject::ROOT)
end
end