README.rdoc in smacks-apricoteatsgorilla-0.2.3 vs README.rdoc in smacks-apricoteatsgorilla-0.2.4
- old
+ new
@@ -1,12 +1,12 @@
= Apricot eats Gorilla
-Apricot eats Gorilla translates between XML documents and Ruby hashes.
+Apricot eats Gorilla translates between XML documents and Hashes.
It's based on CobraVsMongoose but uses Hpricot instead of REXML to parse
XML and it also doesn't follow the BadgerFish convention.
-Its initial purpose was to convert SOAP response messages to Ruby hashes,
+Its initial purpose was to convert SOAP response messages to Hashes,
but it quickly evolved into a more general translation tool.
== Install
$ sudo gem install smacks-apricoteatsgorilla --source http://gems.github.com
@@ -55,17 +55,17 @@
"title" => nil,
"id" => "449810",
"email" => "jj@example.com"
}
-== The conclusion
+== Conclusions
* The xml_to_hash method starts parsing the XML at the root node by default.
By calling the method with an XPath expression as second parameter, we're
able to define a custom root node.
* Node attributes are ignored and won't be included in the hash.
* The value of empty element nodes will be nil.
* Node values of "true" or "false" will be converted to boolean objects.
-== For more information
+== More information
Take a look at the tests for some more examples.