summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-13 14:39:41 +0900
committerRandy Morgan <[email protected]>2012-05-13 14:39:41 +0900
commitd6ada11da88e4f5c8f488e36149f630272226187 (patch)
tree8cbca612112e253f50a4c84a58fe25fd1ff8ea4c
parentc76532c06fad86c65a1d4bcdfbdd7fbb89980d9d (diff)
downloadcaxlsx-d6ada11da88e4f5c8f488e36149f630272226187.tar.gz
caxlsx-d6ada11da88e4f5c8f488e36149f630272226187.zip
remove discontinued to_xml method
-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