Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.636 kb
name: builder
document: http://builder.rubyforge.org
download: http://rubyforge.org/frs/?group_id=415
description: >
<p>This package contains Builder, a simple ruby library for
building XML document quickly and easily.</p>
<p>Here's an example:</p>
<pre>
xml = Builder::XmlMarkup.new(:indent=>2)
xml.person {
xml.first_name("Jim")
xml.last_name("Weirich")
}
puts xml.target!
</pre>
<p>Produces:</p>
<pre>
&lt;person&gt;
&lt;first_name&gt;Jim&lt;/first_name&gt;
&lt;last_name&gt;Weirich&lt;/last_name&gt;
&lt;/person&gt;
</pre>
Jump to Line
Something went wrong with that request. Please try again.