[Nitro] [PATCH] Feed helper backwards compatibility

Jonathan Buch john at oxyliquit.de
Sun Jun 25 15:55:50 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
brother 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/f11644eb/attachment-0001.bin 

More information about the Nitro-general mailing list