Sha256: 1010258aba5efa42d6114ff5061d690a1a9e2ed6279aad7eff506edc7388f2bb
Contents?: true
Size: 404 Bytes
Versions: 6
Compression:
Stored size: 404 Bytes
Contents
module Axlsx class Relationship attr_accessor :Target, :Type def initialize(type, target) self.Target=target self.Type=type end def Target=(v) Axlsx::validate_string v; @Target = v end def Type=(v) Axlsx::validate_relationship_type v; @Type = v end def to_xml(xml, rId) h = self.instance_values h[:Id] = rId xml.Relationship(h) end end end
Version data entries
6 entries across 6 versions & 1 rubygems