Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

links(base_url, contents) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/commands/plugin.rb, line 506
  def links(base_url, contents)
    links = []
    contents.scan(/href\s*=\s*\"*[^\">]*/) do |link|
      link = link.sub(/href="/, "")
      next if link =~ /svnindex.xsl$/
      next if link =~ /^(\w*:|)\/\// || link =~ /^\./
      links << File.join(base_url, link)
Register or log in to add new notes.