aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 18:59:53 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-04 19:00:01 -0300
commit5868307b74161063b4476a792b4ad3571ec61817 (patch)
tree7b89fc5e8aafd20c2683e79497c46289927b77a8 /activesupport/lib
parenteded51f3b499a4ae6428d2f5ab0792a4235ab96b (diff)
parent9f7ab82ad2d458b2bc5b3c5dba7cfc577a4b87eb (diff)
downloadrails-5868307b74161063b4476a792b4ad3571ec61817.tar.gz
rails-5868307b74161063b4476a792b4ad3571ec61817.tar.bz2
rails-5868307b74161063b4476a792b4ad3571ec61817.zip
Merge pull request #18090 from egilburg/patch-3
simplify ActiveSupport.test_order definition
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb
index 2c327244cc..290920dbf8 100644
--- a/activesupport/lib/active_support.rb
+++ b/activesupport/lib/active_support.rb
@@ -71,15 +71,7 @@ module ActiveSupport
NumberHelper.eager_load!
end
- @@test_order = nil
-
- def self.test_order=(new_order) # :nodoc:
- @@test_order = new_order
- end
-
- def self.test_order # :nodoc:
- @@test_order
- end
+ cattr_accessor :test_order # :nodoc:
end
autoload :I18n, "active_support/i18n"