开发者

Asking Rails What Plugins it has Loaded, After Initialization

At some point, this was valid:

Rails.plugins

But I cannot seem to make this work for me开发者_StackOverflow中文版 in Rails 2.3. What is the proper strategy to ask Rails about plugins that have been loaded, after its initialized them all?


I am not sure what happened to Rails.plugins, but...


There's a class that deals with plugin information.

There's also script/plugin list


If you're really curious about plugins and their information, take a look at

$ $RUBYGEMS_DIR/rails-2.3.x/lib/commands/plugin.rb

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜