method

add

rails latest stable - Class: Repositories

Method deprecated or moved

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

add(uri)
public

No documentation available.

# File railties/lib/commands/plugin.rb, line 325
  def add(uri)
    unless find{|repo| repo.uri == uri }
      @repositories.push(Repository.new(uri)).last
    end
  end