# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 34 def application @@application ||= nil end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 38 def application=(application) @@application = application end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 67 def backtrace_cleaner @@backtrace_cleaner ||= begin # Relies on Active Support, so we have to lazy load to postpone definition until AS has been loaded require 'rails/backtrace_cleaner' Rails::BacktraceCleaner.new end end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 87 def cache RAILS_CACHE end
The Configuration instance used to configure the Rails environment
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 43 def configuration application.config end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 79 def env @_env ||= ActiveSupport::StringInquirer.new(ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development") end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 83 def env=(environment) @_env = ActiveSupport::StringInquirer.new(environment) end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 47 def initialize! application.initialize! end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 55 def initialized=(initialized) @@initialized ||= initialized end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 51 def initialized? @@initialized || false end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 59 def logger @@logger ||= nil end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 63 def logger=(logger) @@logger = logger end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 95 def public_path application && application.paths.public.to_a.first end
# File D:/Develope/RailsInstaller/Ruby1.8.7/lib/ruby/gems/1.8/gems/railties-3.0.9/lib/rails.rb, line 99 def public_path=(path) ActiveSupport::Deprecation.warn "Setting Rails.public_path= is deprecated. " << "Please set paths.public = in config/application.rb instead.", caller end
Generated with the Darkfish Rdoc Generator 2.