instance method
ls
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v3.2.22.5Signature
ls()
No documentation comment.
Source
# File railties/lib/commands/plugin.rb, line 908
def ls
@urls_to_fetch.collect do |url|
if url =~ /^svn(\+ssh)?:\/\/.*/
`svn ls #{url}`.split("\n").map {|entry| "/#{entry}"} rescue nil
else
open(url) do |stream|
links("", stream.read)
end rescue nil
end
end.flatten
end
Defined in railties/lib/commands/plugin.rb line 908
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in RecursiveHTTPFetcher