From 968c994c3b45147a822816d926a37c582c66859f Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Fri, 25 Sep 2009 22:28:09 -0500 Subject: Initializer.run returns an application object --- railties/lib/rails/core.rb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'railties/lib/rails/core.rb') diff --git a/railties/lib/rails/core.rb b/railties/lib/rails/core.rb index 33695a27b9..4c2789746c 100644 --- a/railties/lib/rails/core.rb +++ b/railties/lib/rails/core.rb @@ -14,6 +14,14 @@ module Rails @@configuration = configuration end + def application + @@application + end + + def application=(application) + @@application = application + end + def initialized? @initialized || false end -- cgit v1.2.3