instance method ls

Ruby on Rails 2.2.3

Since v2.2.3 Last seen in v3.2.22.5

Available in: v2.2.3 v2.3.18 v3.0.20 v3.1.12 v3.2.22.5

Signature

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

Type at least 2 characters to search.

↑↓ navigate · open · esc close