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.
new(spec, gem)
public
Initialize this plugin from a Gem::Specification.
# File railties/lib/rails/plugin.rb, line 169
def initialize(spec, gem)
directory = spec.full_gem_path
super(directory)
@name = spec.name
end