Changeset 9201
- Timestamp:
- 04/01/08 19:16:55 (8 months ago)
- Files:
-
- trunk/railties/lib/initializer.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/lib/initializer.rb
r9180 r9201 14 14 15 15 module Rails 16 # The Configuration instance used to configure the Rails environment 17 def self.configuration 18 @@configuration 19 end 16 class << self 17 # The Configuration instance used to configure the Rails environment 18 def configuration 19 @@configuration 20 end 20 21 21 def self.configuration=(configuration)22 @@configuration = configuration23 end22 def configuration=(configuration) 23 @@configuration = configuration 24 end 24 25 25 def self.logger26 RAILS_DEFAULT_LOGGER27 end26 def logger 27 RAILS_DEFAULT_LOGGER 28 end 28 29 29 def self.root30 RAILS_ROOT31 end30 def root 31 RAILS_ROOT 32 end 32 33 33 def self.env34 RAILS_ENV35 end34 def env 35 RAILS_ENV 36 end 36 37 37 def self.cache 38 RAILS_CACHE 38 def cache 39 RAILS_CACHE 40 end 39 41 end 40 42