instance method
fetch
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v3.2.22.5Signature
fetch(links = @urls_to_fetch)
No documentation comment.
Parameters
-
linksopt = @urls_to_fetch
Source
# File railties/lib/commands/plugin.rb, line 950
def fetch(links = @urls_to_fetch)
links.each do |l|
(l =~ /\/$/ || links == @urls_to_fetch) ? fetch_dir(l) : download(l)
end
end
Defined in railties/lib/commands/plugin.rb line 950
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RecursiveHTTPFetcher