diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:25:59 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2016-02-24 10:25:59 -0300 |
commit | a558e5d8ba19a465f1606c82f36cab7680bc2b5d (patch) | |
tree | 5954fdd652ec96aac219a835fb797c8138530d78 /activesupport | |
parent | e56e2459cb5ec8d4752e051ead76e8ffb98f8b4b (diff) | |
download | rails-a558e5d8ba19a465f1606c82f36cab7680bc2b5d.tar.gz rails-a558e5d8ba19a465f1606c82f36cab7680bc2b5d.tar.bz2 rails-a558e5d8ba19a465f1606c82f36cab7680bc2b5d.zip |
Make internal class as nodoc
Also use the new hash syntax.
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/logger_thread_safe_level.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/logger_thread_safe_level.rb b/activesupport/lib/active_support/logger_thread_safe_level.rb index 0aad93e7f2..5fedb5e689 100644 --- a/activesupport/lib/active_support/logger_thread_safe_level.rb +++ b/activesupport/lib/active_support/logger_thread_safe_level.rb @@ -1,11 +1,11 @@ require 'active_support/concern' module ActiveSupport - module LoggerThreadSafeLevel + module LoggerThreadSafeLevel # :nodoc: extend ActiveSupport::Concern def after_initialize - @local_levels = Concurrent::Map.new(:initial_capacity => 2) + @local_levels = Concurrent::Map.new(initial_capacity: 2) end def local_log_id |