Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

Commit

Permalink
Stripped whitespace with "sake strip"
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kubb committed Jun 18, 2008
1 parent 8c5d8a6 commit 1b3f1d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dm-serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ def xml_element_name
def to_xml_document(opts={})
doc = REXML::Document.new
root = doc.add_element(xml_element_name)

#TODO old code base was converting single quote to double quote on attribs

self.class.properties(repository.name).each do |property|
value = send(property.name)
value = send(property.name)
node = root.add_element(property.name.to_s)
if property.key?
node.attributes["type"] = property.type.to_s.downcase
Expand Down

0 comments on commit 1b3f1d3

Please sign in to comment.