class method
self.new
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v3.2.22.5Signature
self.new(urls_to_fetch, level = 1, cwd = ".")
No documentation comment.
Parameters
-
urls_to_fetchreq -
levelopt = 1 -
cwdopt = "."
Source
# File railties/lib/commands/plugin.rb, line 902
def initialize(urls_to_fetch, level = 1, cwd = ".")
@level = level
@cwd = cwd
@urls_to_fetch = RUBY_VERSION >= '1.9' ? urls_to_fetch.lines : urls_to_fetch.to_a
@quiet = false
end
Defined in railties/lib/commands/plugin.rb line 902
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RecursiveHTTPFetcher