[Nitro] [PATCH] Feed helper backwards compatibility

Jonathan Buch john at oxyliquit.de
Thu Jun 22 14:06:00 EDT 2006


George, you made some change to the Feed helper, specifically
to the author handling.
This patch adds the capability to also let it handle Hashes.

Hashes are easier to create than full classes, thats why my
bro chose them to represent an author.

The patch creates an OpenStruct if the o.author is a Hash,
everything else stays as it was.


Feel the love
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feed_author.patch.tar.bz2
Type: application/bzip2
Size: 16424 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060626/4e0f3f28/attachment.bin 

More information about the Nitro-general mailing list