Class: FacebookWall::FeedEntryFilters::Chain

Inherits:
Array
  • Object
show all
Defined in:
lib/facebook_wall/feed_entry_filters/chain.rb

Instance Method Summary collapse

Instance Method Details

#apply_filters_to!(feed_entry) ⇒ Object

Applies the filters in the chain to the specified RSS item.

Parameters

feed_entry - RSS::Rss::Channel::Item

A RSS item



7
8
9
10
11
# File 'lib/facebook_wall/feed_entry_filters/chain.rb', line 7

def apply_filters_to!(feed_entry)
  each do |feed_entry_filter|
    feed_entry_filter.apply! feed_entry
  end
end