Sha256: 07dfd062f28f666992c086fdf3ebcc5ad10aa4ec58f05d9bb106d578148b7e40

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 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

16 entries across 16 versions & 1 rubygems

Version Path
rubyXL-3.4.23 lib/rubyXL.rb
rubyXL-3.4.22 lib/rubyXL.rb
rubyXL-3.4.21 lib/rubyXL.rb
rubyXL-3.4.20 lib/rubyXL.rb
rubyXL-3.4.18 lib/rubyXL.rb
rubyXL-3.4.17 lib/rubyXL.rb
rubyXL-3.4.16 lib/rubyXL.rb
rubyXL-3.4.15 lib/rubyXL.rb
rubyXL-3.4.14 lib/rubyXL.rb
rubyXL-3.4.12 lib/rubyXL.rb
rubyXL-3.4.11 lib/rubyXL.rb
rubyXL-3.4.10 lib/rubyXL.rb
rubyXL-3.4.9 lib/rubyXL.rb
rubyXL-3.4.8 lib/rubyXL.rb
rubyXL-3.4.6 lib/rubyXL.rb
rubyXL-3.4.5 lib/rubyXL.rb