Sha256: 9a3d3d0d9d47e563ae1533241cae3b1a4dee0a9954210d1f16f1019fd39ea67c
Contents?: true
Size: 648 Bytes
Versions: 1
Compression:
Stored size: 648 Bytes
Contents
# encoding: UTF-8 module Axlsx require 'axlsx/rels/relationship.rb' # Relationships are a collection of Relations that define how package parts are related. # @note The package automatically manages releationships. class Relationships < SimpleTypedList # Creates a new Relationships collection based on SimpleTypedList def initialize super Relationship end def to_xml_string(str = '') str << '<?xml version="1.0" encoding="UTF-8"?>' str << '<Relationships xmlns="' << RELS_R << '">' each_with_index { |rel, index| rel.to_xml_string(index+1, str) } str << '</Relationships>' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axlsx-1.1.5 | lib/axlsx/rels/relationships.rb |