Class: Smoke::Source::Feed
Overview
Instance Attribute Summary collapse
-
#requests ⇒ Object
readonly
Returns the value of attribute requests.
Attributes inherited from Origin
Instance Method Summary collapse
Methods inherited from Origin
#discard, #emit, #initialize, #insert, #keep, #method_missing, #output, #path, #prepare, #rename, #reverse, #sort, #transform, #truncate
Constructor Details
This class inherits a constructor from Smoke::Origin
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Smoke::Origin
Instance Attribute Details
#requests ⇒ Object (readonly)
Returns the value of attribute requests.
11 12 13 |
# File 'lib/smoke/source/feed.rb', line 11 def requests @requests end |
Instance Method Details
#url(feed_uri) ⇒ Object
13 14 15 |
# File 'lib/smoke/source/feed.rb', line 13 def url(feed_uri) (@feeds ||= [] ) << feed_uri end |