summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/axlsx/rels/relationships.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/axlsx/rels/relationships.rb b/lib/axlsx/rels/relationships.rb
index e0d6ea13..dbc5b209 100644
--- a/lib/axlsx/rels/relationships.rb
+++ b/lib/axlsx/rels/relationships.rb
@@ -17,16 +17,6 @@ require 'axlsx/rels/relationship.rb'
each_with_index { |rel, index| rel.to_xml_string(index+1, str) }
str << '</Relationships>'
end
- # Serializes the relationships document.
- # @return [String]
- def to_xml()
- builder = Nokogiri::XML::Builder.new(:encoding => ENCODING) do |xml|
- xml.Relationships(:xmlns => Axlsx::RELS_R) {
- each_with_index { |rel, index| rel.to_xml(xml, "rId#{index+1}") }
- }
- end
- builder.to_xml(:save_with => 0)
- end
end
end