aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafael.franca@plataformatec.com.br>2014-09-11 00:54:43 -0300
committerRafael Mendonça França <rafael.franca@plataformatec.com.br>2014-09-11 00:54:43 -0300
commit53e877f7d9291b2bf0b8c425f9e32ef35829f35b (patch)
tree499c37c195c2d8dcd3fc9c71bfee92f4fc8986a1 /activesupport/lib/active_support.rb
parent8edb5eeb360779aad7a45a66818fada98a22b1e2 (diff)
downloadrails-53e877f7d9291b2bf0b8c425f9e32ef35829f35b.tar.gz
rails-53e877f7d9291b2bf0b8c425f9e32ef35829f35b.tar.bz2
rails-53e877f7d9291b2bf0b8c425f9e32ef35829f35b.zip
Define the configuration at Active Support
Diffstat (limited to 'activesupport/lib/active_support.rb')
-rw-r--r--activesupport/lib/active_support.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb
index ab0054b339..94468240a4 100644
--- a/activesupport/lib/active_support.rb
+++ b/activesupport/lib/active_support.rb
@@ -70,6 +70,16 @@ module ActiveSupport
NumberHelper.eager_load!
end
+
+ @@test_order = nil
+
+ def self.test_order=(new_order)
+ @@test_order = new_order
+ end
+
+ def self.test_order
+ @@test_order
+ end
end
autoload :I18n, "active_support/i18n"