FeedTools item limit

I’m currently displaying an RSS feed on my site using FeedTools.
However, I’d like to limit the number of items that are displayed for
the feed. How can I go about doing this? Thanks.

@feed.items[0…4].each do |item|

end

That would be one way to serve up only 5 items.


Building an e-commerce site with Rails?
http://www.agilewebdevelopment.com/rails-ecommerce