aggregator/rss.rb
### TODO: probably candidate for pulling out into method on Aggregator
probably candidate for pulling out into method on Aggregator
probably candidate for pulling out into method on Aggregator
def next_feed
    @current_feed_index += 1
    if @current_feed_index >= @feeds.length
      @current_feed = @feeds.first
      @current_feed_index = 0
    else
      @current_feed = @feeds[@current_feed_index]
    end
  end
def next_feed @current_feed_index += 1 if @current_feed_index >= @feeds . length @current_feed = @feeds . first @current_feed_index = 0 else @current_feed = @feeds [ @current_feed_index ] end end
TODO: probably candidate for pulling out into method on Aggregator
TODO : probably candidate for pulling out into method on Aggregator