Sha256: 5cc92943f689b97f51e7781edcff75ebb14f811070c69e2f52cc1eacba5737fa

Contents?: true

Size: 270 Bytes

Versions: 26

Compression:

Stored size: 270 Bytes

Contents

require 'rubyXL/objects/root'
require 'rubyXL/parser'

module RubyXL

  # 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

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
rubyXL-3.3.17 lib/rubyXL.rb
rubyXL-3.3.16 lib/rubyXL.rb
rubyXL-3.3.15 lib/rubyXL.rb
rubyXL-3.3.14 lib/rubyXL.rb
rubyXL-3.3.13 lib/rubyXL.rb
rubyXL-3.3.12 lib/rubyXL.rb