diff options
Diffstat (limited to 'railties/lib/rails/initializer.rb')
-rw-r--r-- | railties/lib/rails/initializer.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/railties/lib/rails/initializer.rb b/railties/lib/rails/initializer.rb deleted file mode 100644 index 44d04688c8..0000000000 --- a/railties/lib/rails/initializer.rb +++ /dev/null @@ -1,17 +0,0 @@ -require "rails" # In case people require this file directly - -RAILS_ENV = (ENV['RAILS_ENV'] || 'development').dup unless defined?(RAILS_ENV) - -module Rails - class Initializer - class Error < StandardError ; end - def self.run(initializer = nil, config = nil) - if initializer - # Deprecated - else - Rails.application = Class.new(Application) - yield Rails.application.config if block_given? - end - end - end -end
\ No newline at end of file |