diff options
| author | Randy Morgan <[email protected]> | 2012-05-13 14:39:41 +0900 |
|---|---|---|
| committer | Randy Morgan <[email protected]> | 2012-05-13 14:39:41 +0900 |
| commit | d6ada11da88e4f5c8f488e36149f630272226187 (patch) | |
| tree | 8cbca612112e253f50a4c84a58fe25fd1ff8ea4c | |
| parent | c76532c06fad86c65a1d4bcdfbdd7fbb89980d9d (diff) | |
| download | caxlsx-d6ada11da88e4f5c8f488e36149f630272226187.tar.gz caxlsx-d6ada11da88e4f5c8f488e36149f630272226187.zip | |
remove discontinued to_xml method
| -rw-r--r-- | lib/axlsx/rels/relationships.rb | 10 |
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 |
