Class: SimpleImagesDownloader::Strategies::Strategy
- Inherits:
-
Object
- Object
- SimpleImagesDownloader::Strategies::Strategy
- Defined in:
- lib/simple_images_downloader/strategies/strategy.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(_) ⇒ Strategy
constructor
A new instance of Strategy.
- #process ⇒ Object
Constructor Details
#initialize(_) ⇒ Strategy
Returns a new instance of Strategy.
6 7 |
# File 'lib/simple_images_downloader/strategies/strategy.rb', line 6 def initialize(_) end |
Instance Method Details
#process ⇒ Object
9 10 11 |
# File 'lib/simple_images_downloader/strategies/strategy.rb', line 9 def process raise NotImplementedError, 'must be implemented in subclass' end |