lib/rails/engine/configurable.rb
module Rails class Engine module Configurable def self.included(base) base.extend ClassMethods end module ClassMethods delegate :middleware, :root, :paths, :to => :config def config @config ||= Engine::Configuration.new(find_root_with_flag("lib")) end def inherited(base) raise "You cannot inherit from a Rails::Engine child" end end def config self.class.config end end end end
Source Files
- lib/rails.rb
- lib/rails/all.rb
- lib/rails/application.rb
- lib/rails/application/bootstrap.rb
- lib/rails/application/configurable.rb
- lib/rails/application/configuration.rb
- lib/rails/application/finisher.rb
- lib/rails/application/railties.rb
- lib/rails/backtrace_cleaner.rb
- lib/rails/cli.rb
- lib/rails/code_statistics.rb
- lib/rails/commands.rb
- lib/rails/commands/application.rb
- lib/rails/commands/benchmarker.rb
- lib/rails/commands/console.rb
- lib/rails/commands/dbconsole.rb
- lib/rails/commands/destroy.rb
- lib/rails/commands/generate.rb
- lib/rails/commands/plugin.rb
- lib/rails/commands/profiler.rb
- lib/rails/commands/runner.rb
- lib/rails/commands/server.rb
- lib/rails/commands/update.rb
- lib/rails/configuration.rb
- lib/rails/console/app.rb
- lib/rails/console/helpers.rb
- lib/rails/console/sandbox.rb
- lib/rails/deprecation.rb
- lib/rails/engine.rb
- lib/rails/engine/configurable.rb
- lib/rails/engine/configuration.rb
- lib/rails/generators.rb
- lib/rails/generators/actions.rb
- lib/rails/generators/active_model.rb
- lib/rails/generators/base.rb
- lib/rails/generators/erb.rb
- lib/rails/generators/erb/controller/controller_generator.rb
- lib/rails/generators/erb/mailer/mailer_generator.rb
- lib/rails/generators/erb/scaffold/scaffold_generator.rb
- lib/rails/generators/generated_attribute.rb
- lib/rails/generators/migration.rb
- lib/rails/generators/named_base.rb
- lib/rails/generators/rails/app/app_generator.rb
- lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
- lib/rails/generators/rails/app/templates/app/helpers/application_helper.rb
- lib/rails/generators/rails/app/templates/config/application.rb
- lib/rails/generators/rails/app/templates/config/boot.rb
- lib/rails/generators/rails/app/templates/config/environment.rb
- lib/rails/generators/rails/app/templates/config/initializers/backtrace_silencers.rb
- lib/rails/generators/rails/app/templates/config/initializers/inflections.rb
- lib/rails/generators/rails/app/templates/config/initializers/mime_types.rb
- lib/rails/generators/rails/app/templates/config/routes.rb
- lib/rails/generators/rails/app/templates/db/seeds.rb
- lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb
- lib/rails/generators/rails/controller/controller_generator.rb
- lib/rails/generators/rails/controller/templates/controller.rb
- lib/rails/generators/rails/generator/generator_generator.rb
- lib/rails/generators/rails/helper/helper_generator.rb
- lib/rails/generators/rails/helper/templates/helper.rb
- lib/rails/generators/rails/integration_test/integration_test_generator.rb
- lib/rails/generators/rails/migration/migration_generator.rb
- lib/rails/generators/rails/model/model_generator.rb
- lib/rails/generators/rails/observer/observer_generator.rb
- lib/rails/generators/rails/performance_test/performance_test_generator.rb
- lib/rails/generators/rails/plugin/plugin_generator.rb
- lib/rails/generators/rails/plugin/templates/init.rb
- lib/rails/generators/rails/plugin/templates/install.rb
- lib/rails/generators/rails/plugin/templates/uninstall.rb
- lib/rails/generators/rails/resource/resource_generator.rb
- lib/rails/generators/rails/scaffold/scaffold_generator.rb
- lib/rails/generators/rails/scaffold_controller/scaffold_controller_generator.rb
- lib/rails/generators/rails/scaffold_controller/templates/controller.rb
- lib/rails/generators/rails/session_migration/session_migration_generator.rb
- lib/rails/generators/rails/stylesheets/stylesheets_generator.rb
- lib/rails/generators/resource_helpers.rb
- lib/rails/generators/test_case.rb
- lib/rails/generators/test_unit.rb
- lib/rails/generators/test_unit/controller/controller_generator.rb
- lib/rails/generators/test_unit/controller/templates/functional_test.rb
- lib/rails/generators/test_unit/helper/helper_generator.rb
- lib/rails/generators/test_unit/helper/templates/helper_test.rb
- lib/rails/generators/test_unit/integration/integration_generator.rb
- lib/rails/generators/test_unit/integration/templates/integration_test.rb
- lib/rails/generators/test_unit/mailer/mailer_generator.rb
- lib/rails/generators/test_unit/mailer/templates/functional_test.rb
- lib/rails/generators/test_unit/model/model_generator.rb
- lib/rails/generators/test_unit/model/templates/unit_test.rb
- lib/rails/generators/test_unit/observer/observer_generator.rb
- lib/rails/generators/test_unit/observer/templates/unit_test.rb
- lib/rails/generators/test_unit/performance/performance_generator.rb
- lib/rails/generators/test_unit/performance/templates/performance_test.rb
- lib/rails/generators/test_unit/plugin/plugin_generator.rb
- lib/rails/generators/test_unit/plugin/templates/test_helper.rb
- lib/rails/generators/test_unit/scaffold/scaffold_generator.rb
- lib/rails/generators/test_unit/scaffold/templates/functional_test.rb
- lib/rails/info.rb
- lib/rails/info_controller.rb
- lib/rails/info_routes.rb
- lib/rails/initializable.rb
- lib/rails/paths.rb
- lib/rails/performance_test_help.rb
- lib/rails/plugin.rb
- lib/rails/rack.rb
- lib/rails/rack/debugger.rb
- lib/rails/rack/log_tailer.rb
- lib/rails/rack/logger.rb
- lib/rails/rack/static.rb
- lib/rails/railtie.rb
- lib/rails/railtie/configurable.rb
- lib/rails/railtie/configuration.rb
- lib/rails/ruby_version_check.rb
- lib/rails/rubyprof_ext.rb
- lib/rails/script_rails_loader.rb
- lib/rails/source_annotation_extractor.rb
- lib/rails/tasks.rb
- lib/rails/test_help.rb
- lib/rails/test_unit/railtie.rb
- lib/rails/version.rb