Methods
Included Modules
Attributes
[R] plugins
[R] uri
Public Class methods
new(uri)
     # File railties/lib/commands/plugin.rb, line 407
407:   def initialize(uri)
408:     @uri = uri.chomp('/') << "/"
409:     @plugins = nil
410:   end
Public Instance methods
each(&block)
     # File railties/lib/commands/plugin.rb, line 426
426:   def each(&block)
427:     plugins.each(&block)
428:   end
plugins()
     # File railties/lib/commands/plugin.rb, line 412
412:   def plugins
413:     unless @plugins
414:       if $verbose
415:         puts "Discovering plugins in #{@uri}" 
416:         puts index
417:       end
418: 
419:       @plugins = index.reject{ |line| line !~ /\/$/ }
420:       @plugins.map! { |name| Plugin.new(File.join(@uri, name), name) }
421:     end
422: 
423:     @plugins
424:   end