Method: RecursiveHTTPFetcher#fetch
- Defined in:
- lib/commands/plugin.rb
#fetch(links = @urls_to_fetch) ⇒ Object
902 903 904 905 906 |
# File 'lib/commands/plugin.rb', line 902 def fetch(links = @urls_to_fetch) links.each do |l| (l =~ /\/$/ || links == @urls_to_fetch) ? fetch_dir(l) : download(l) end end |