This Plugin subclass represents a Gem plugin. Although RubyGems has already taken care of $LOAD_PATHs, it exposes its load_paths to add them to Dependencies.load_paths.

Public Class methods
new(spec, gem)

Initialize this plugin from a Gem::Specification.

     # File railties/lib/rails/plugin.rb, line 169
169:     def initialize(spec, gem)
170:       directory = spec.full_gem_path
171:       super(directory)
172:       @name =
173:     end
Public Instance methods
     # File railties/lib/rails/plugin.rb, line 175
175:     def init_path
176:       File.join(directory, 'rails', 'init.rb')
177:     end