Sha256: 68c95813c8f4903d3aa36c6f90c47e605694ec4477cb515198115fcceaa3d027

Contents?: true

Size: 299 Bytes

Versions: 10

Compression:

Stored size: 299 Bytes

Contents

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rubyXL-3.4.33 lib/rubyXL.rb
rubyXL-3.4.32 lib/rubyXL.rb
rubyXL-3.4.31 lib/rubyXL.rb
rubyXL-3.4.30 lib/rubyXL.rb
rubyXL-3.4.29 lib/rubyXL.rb
rubyXL-3.4.28 lib/rubyXL.rb
rubyXL-3.4.27 lib/rubyXL.rb
rubyXL-3.4.26 lib/rubyXL.rb
rubyXL-3.4.25 lib/rubyXL.rb
rubyXL-3.4.24 lib/rubyXL.rb