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.4.3 lib/rubyXL.rb
rubyXL-3.4.2 lib/rubyXL.rb
rubyXL-3.4.1 lib/rubyXL.rb
rubyXL-3.4.0 lib/rubyXL.rb
rubyXL-3.3.33 lib/rubyXL.rb
rubyXL-3.3.31 lib/rubyXL.rb
rubyXL-3.3.30 lib/rubyXL.rb
rubyXL-3.3.29 lib/rubyXL.rb
rubyXL-ptr-3.3.27 lib/rubyXL.rb
rubyXL-3.3.28 lib/rubyXL.rb
rubyXL-3.3.27 lib/rubyXL.rb
rubyXL-3.3.26 lib/rubyXL.rb
rubyXL-3.3.25 lib/rubyXL.rb
rubyXL-3.3.24 lib/rubyXL.rb
rubyXL-3.3.23 lib/rubyXL.rb
rubyXL-3.3.22 lib/rubyXL.rb
rubyXL-3.3.21 lib/rubyXL.rb
rubyXL-3.3.20 lib/rubyXL.rb
rubyXL-3.3.19 lib/rubyXL.rb
rubyXL-3.3.18 lib/rubyXL.rb