Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Stop rendering the entire XML document every time an element is added…
Browse files Browse the repository at this point in the history
…. Duh.
  • Loading branch information
codahale committed May 12, 2008
1 parent 8e586ef commit 28151e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faster_builder/xml_markup.rb
Expand Up @@ -87,7 +87,7 @@ def tag!(element, *options, &block)
end

@current_node = @current_node.parent
return target!
return self
end

def target!
Expand Down

0 comments on commit 28151e8

Please sign in to comment.