class FeedSearcher
Constants
- VERSION
Attributes
options[R]
url[R]
Public Class Methods
new(url, options = {})
click to toggle source
# File lib/feed_searcher.rb, line 15 def initialize(url, options = {}) @url = url @options = options end
search(*args)
click to toggle source
# File lib/feed_searcher.rb, line 9 def self.search(*args) new(*args).search end
Public Instance Methods
search()
click to toggle source
# File lib/feed_searcher.rb, line 20 def search fetch.feed_urls.map {|feed_url| URI.join(url, feed_url).to_s } end
Private Instance Methods
fetch()
click to toggle source
# File lib/feed_searcher.rb, line 26 def fetch Fetcher.fetch(url, options) end