Sha256: 99790670157b12d36c5fd87bf5e618154a232e7c3b855a9084620e55f7f7eaff
Contents?: true
Size: 781 Bytes
Versions: 4
Compression:
Stored size: 781 Bytes
Contents
# In order to give a richer infrastructure for dealing with plugins, the engines # plugin adds two new attributes to the Rails module: # # [+plugins+] A PluginList instance which holds the currently loaded plugins # [+configuration+] The current Rails::Configuration instance, so that we can # query any parameters that might be set *after* Rails has # loaded, as well as during plugin initialization # #-- # Here we just re-open the Rails module and add our custom accessors; it # may be cleaner to seperate them into a module, but in this case that seems # like overkill. #++ module Rails # The set of all loaded plugins mattr_accessor :plugins # The Rails::Initializer::Configuration object mattr_accessor :configuration end
Version data entries
4 entries across 4 versions & 1 rubygems