Class: FeedSearcher
- Inherits:
-
Object
- Object
- FeedSearcher
- Defined in:
- lib/feed_searcher.rb,
lib/feed_searcher/page.rb,
lib/feed_searcher/fetcher.rb,
lib/feed_searcher/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.0.2"
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(url, options = {}) ⇒ FeedSearcher
constructor
A new instance of FeedSearcher.
- #search ⇒ Object
Constructor Details
#initialize(url, options = {}) ⇒ FeedSearcher
Returns a new instance of FeedSearcher.
14 15 16 17 |
# File 'lib/feed_searcher.rb', line 14 def initialize(url, = {}) @url = url @options = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
12 13 14 |
# File 'lib/feed_searcher.rb', line 12 def @options end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
12 13 14 |
# File 'lib/feed_searcher.rb', line 12 def url @url end |
Class Method Details
.search(*args) ⇒ Object
8 9 10 |
# File 'lib/feed_searcher.rb', line 8 def self.search(*args) new(*args).search end |
Instance Method Details
#search ⇒ Object
19 20 21 |
# File 'lib/feed_searcher.rb', line 19 def search fetch.feed_urls end |