Class: TorrentSearch::Controllers::Download
- Inherits:
-
Object
- Object
- TorrentSearch::Controllers::Download
- Defined in:
- lib/torrent_search/controllers/download.rb
Constant Summary collapse
- DEFAULT_DIR =
'.'
Instance Method Summary collapse
- #download ⇒ Object
-
#initialize(search_result, view = Views::Download.new) ⇒ Download
constructor
A new instance of Download.
Constructor Details
Instance Method Details
#download ⇒ Object
11 12 13 |
# File 'lib/torrent_search/controllers/download.rb', line 11 def download perform_download choose_torrent!, choose_path! end |