public Method

Repository.plugins

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 372
def plugins
  unless @plugins
    if $verbose
      puts "Discovering plugins in #{@uri}" 
      puts index
    end

    @plugins = index.reject{ |line| line !~ /\/$/ }
    @plugins.map! { |name| Plugin.new(File.join(@uri, name), name) }
  end

  @plugins
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.