mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
636 B
28 lines
636 B
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>
|
|
<person>
|
|
<first_name>Jim</first_name>
|
|
<last_name>Weirich</last_name>
|
|
</person>
|
|
</pre>
|
|
|