diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-09-25 22:28:09 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-09-25 22:28:09 -0500 |
commit | 968c994c3b45147a822816d926a37c582c66859f (patch) | |
tree | a2c5a2a3b0d75360367cd254d1439412c136b9ef /railties/lib/rails/core.rb | |
parent | dfbd3b94094d54483a47faa9d927370df476f572 (diff) | |
download | rails-968c994c3b45147a822816d926a37c582c66859f.tar.gz rails-968c994c3b45147a822816d926a37c582c66859f.tar.bz2 rails-968c994c3b45147a822816d926a37c582c66859f.zip |
Initializer.run returns an application object
Diffstat (limited to 'railties/lib/rails/core.rb')
-rw-r--r-- | railties/lib/rails/core.rb | 8 |
1 files changed, 8 insertions, 0 deletions
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 |