README.rdoc in ratom-0.7.2 vs README.rdoc in ratom-0.8.0

- old
+ new

@@ -225,10 +225,10 @@ end end We can tell rAtom about our custom namespace and custom class using the following method calls: - Atom::Feed.add_extension_namespace :custom, "http://custom.namespace" + Atom::Entry.add_extension_namespace :custom, "http://custom.namespace" Atom::Entry.elements "custom:property", :class => Custom::Property The first method call registers an alias for the "http://custom.namespace" namespace and the second method call tell rAtom that when it encounters a custom:property element within a Feed it should create an instance of Custom::Property and pass the XML Reader to the constructor of the instance. It is then up to the constructor to populate the objects attributes