diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 18:59:53 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-04 19:00:01 -0300 |
commit | 5868307b74161063b4476a792b4ad3571ec61817 (patch) | |
tree | 7b89fc5e8aafd20c2683e79497c46289927b77a8 /activesupport/lib | |
parent | eded51f3b499a4ae6428d2f5ab0792a4235ab96b (diff) | |
parent | 9f7ab82ad2d458b2bc5b3c5dba7cfc577a4b87eb (diff) | |
download | rails-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.rb | 10 |
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" |