Methods
A
E
M
N
P
R
Attributes
[R] root
[W] middleware
[W] eager_load_paths
[W] autoload_once_paths
[W] autoload_paths
[RW] plugins
Class Public methods
new(root=nil)
    # File railties/lib/rails/engine/configuration.rb, line 10
10:       def initialize(root=nil)
11:         super()
12:         @root = root
13:         @generators = app_generators.dup
14:       end
Instance Public methods
autoload_once_paths()
    # File railties/lib/rails/engine/configuration.rb, line 75
75:       def autoload_once_paths
76:         @autoload_once_paths ||= paths.autoload_once
77:       end
autoload_paths()
    # File railties/lib/rails/engine/configuration.rb, line 79
79:       def autoload_paths
80:         @autoload_paths ||= paths.autoload_paths
81:       end
eager_load_paths()
    # File railties/lib/rails/engine/configuration.rb, line 71
71:       def eager_load_paths
72:         @eager_load_paths ||= paths.eager_load
73:       end
middleware()

Returns the middleware stack for the engine.

    # File railties/lib/rails/engine/configuration.rb, line 17
17:       def middleware
18:         @middleware ||= Rails::Configuration::MiddlewareStackProxy.new
19:       end
paths()
    # File railties/lib/rails/engine/configuration.rb, line 39
39:       def paths
40:         @paths ||= begin
41:           paths = Rails::Paths::Root.new(@root)
42:           paths.add "app",                 :eager_load => true, :glob => "*"
43:           paths.add "app/assets",          :glob => "*"
44:           paths.add "app/controllers",     :eager_load => true
45:           paths.add "app/helpers",         :eager_load => true
46:           paths.add "app/models",          :eager_load => true
47:           paths.add "app/mailers",         :eager_load => true
48:           paths.add "app/views"
49:           paths.add "lib",                 :load_path => true
50:           paths.add "lib/assets",          :glob => "*"
51:           paths.add "lib/tasks",           :glob => "**/*.rake"
52:           paths.add "config"
53:           paths.add "config/environments", :glob => "#{Rails.env}.rb"
54:           paths.add "config/initializers", :glob => "**/*.rb"
55:           paths.add "config/locales",      :glob => "*.{rb,yml}"
56:           paths.add "config/routes",       :with => "config/routes.rb"
57:           paths.add "db"
58:           paths.add "db/migrate"
59:           paths.add "db/seeds",            :with => "db/seeds.rb"
60:           paths.add "vendor",              :load_path => true
61:           paths.add "vendor/assets",       :glob => "*"
62:           paths.add "vendor/plugins"
63:           paths
64:         end
65:       end
root=(value)
    # File railties/lib/rails/engine/configuration.rb, line 67
67:       def root=(value)
68:         @root = paths.path = Pathname.new(value).expand_path
69:       end